Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002195/0.002202, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 94.22 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.081e-05, allocations: 4 kB / 314.9 MB, free: 9.07 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4752, allocations: 82.11 MB / 444.5 MB, free: 4.105 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.4756, allocations: 75.95 kB / 444.6 MB, free: 4.031 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07333/0.549, allocations: 17.8 MB / 462.4 MB, free: 2.117 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.549, allocations: 0 / 462.4 MB, free: 2.117 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.5491, allocations: 12 kB / 462.4 MB, free: 2.105 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004082/0.5532, allocations: 0.8451 MB / 463.3 MB, free: 1.219 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5532, allocations: 8.031 kB / 463.3 MB, free: 1.211 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.558, allocations: 454.8 kB / 463.7 MB, free: 0.7656 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5591, allocations: 362.5 kB / 464.1 MB, free: 380 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.5592, allocations: 24 kB / 464.1 MB, free: 356 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5593, allocations: 40 kB / 464.1 MB, free: 316 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002249/0.5616, allocations: 0.7776 MB / 464.9 MB, free: 15.53 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.5637, allocations: 0.6612 MB / 465.6 MB, free: 14.86 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.5638, allocations: 0 / 465.6 MB, free: 14.86 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.5639, allocations: 0 / 465.6 MB, free: 14.86 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.564, allocations: 16 kB / 465.6 MB, free: 14.84 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007169/0.5711, allocations: 2.611 MB / 468.2 MB, free: 12.06 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.574, allocations: 1.884 MB / 470.1 MB, free: 9.848 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.5745, allocations: 186.7 kB / 470.3 MB, free: 9.664 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.5747, allocations: 93.91 kB / 470.4 MB, free: 9.555 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5748, allocations: 42.94 kB / 470.4 MB, free: 9.504 MB / 363.1 MB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/0.5748, allocations: 0 / 470.4 MB, free: 9.504 MB / 363.1 MB Notification: Performance of matching and sorting (n=50): time 0.001794/0.5766, allocations: 468.4 kB / 470.9 MB, free: 9.035 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.5767, allocations: 85.53 kB / 471 MB, free: 8.934 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.5772, allocations: 276.3 kB / 471.2 MB, free: 8.656 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.5773, allocations: 25.7 kB / 471.2 MB, free: 8.625 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.5775, allocations: 361.7 kB / 471.6 MB, free: 8.27 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5777, allocations: 161.6 kB / 471.8 MB, free: 8.109 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.5778, allocations: 0 / 471.8 MB, free: 8.109 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.578, allocations: 338.8 kB / 472.1 MB, free: 7.77 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.5785, allocations: 189.5 kB / 472.3 MB, free: 7.586 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.5792, allocations: 387 kB / 472.7 MB, free: 7.117 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.5805, allocations: 328.8 kB / 473 MB, free: 6.797 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.5805, allocations: 0 / 473 MB, free: 6.797 MB / 363.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002472/0.583, allocations: 0.7193 MB / 473.7 MB, free: 6.07 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.5843, allocations: 2.441 MB / 476.1 MB, free: 3.438 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.5843, allocations: 8 kB / 476.1 MB, free: 3.43 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.5848, allocations: 60.83 kB / 476.2 MB, free: 3.367 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.5859, allocations: 143.8 kB / 476.3 MB, free: 3.227 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.5879, allocations: 1.533 MB / 477.9 MB, free: 1.574 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.5888, allocations: 67.34 kB / 477.9 MB, free: 1.508 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.5889, allocations: 40.05 kB / 478 MB, free: 1.469 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.589, allocations: 6.656 kB / 478 MB, free: 1.465 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/0.5913, allocations: 0.6645 MB / 478.7 MB, free: 0.7969 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.5914, allocations: 5.969 kB / 478.7 MB, free: 0.793 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.5916, allocations: 48.84 kB / 478.7 MB, free: 0.7422 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5927, allocations: 144.2 kB / 478.8 MB, free: 0.6016 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5946, allocations: 1.444 MB / 480.3 MB, free: 15.04 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.5953, allocations: 47.52 kB / 480.3 MB, free: 15 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.5954, allocations: 31.98 kB / 480.4 MB, free: 14.96 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.5956, allocations: 120.8 kB / 480.5 MB, free: 14.84 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001869/0.5975, allocations: 464.4 kB / 480.9 MB, free: 14.38 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.5977, allocations: 35.69 kB / 481 MB, free: 14.34 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.6007, allocations: 0.5278 MB / 481.5 MB, free: 13.8 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.6008, allocations: 4 kB / 481.5 MB, free: 13.8 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6008, allocations: 4 kB / 481.5 MB, free: 13.8 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.6009, allocations: 3.984 kB / 481.5 MB, free: 13.79 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.6061, allocations: 1.121 MB / 482.6 MB, free: 12.62 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.6062, allocations: 0 / 482.6 MB, free: 12.62 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6073, allocations: 91.83 kB / 482.7 MB, free: 12.54 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.6078, allocations: 48.83 kB / 482.8 MB, free: 12.48 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.6079, allocations: 8.172 kB / 482.8 MB, free: 12.48 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.6107, allocations: 1.506 MB / 484.3 MB, free: 10.86 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6108, allocations: 8 kB / 484.3 MB, free: 10.85 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/0.6141, allocations: 0.7725 MB / 485.1 MB, free: 10.06 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.6145, allocations: 154.2 kB / 485.2 MB, free: 9.891 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6147, allocations: 7.984 kB / 485.2 MB, free: 9.883 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.6154, allocations: 28.03 kB / 485.3 MB, free: 9.855 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.6156, allocations: 32.39 kB / 485.3 MB, free: 9.824 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.6157, allocations: 15.98 kB / 485.3 MB, free: 9.809 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004837/0.6162, allocations: 196.5 kB / 485.5 MB, free: 9.613 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.6162, allocations: 0 / 485.5 MB, free: 9.613 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.002486/0.6187, allocations: 286.7 kB / 485.8 MB, free: 9.332 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004073/0.6229, allocations: 1.355 MB / 487.1 MB, free: 7.949 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.003641/0.6266, allocations: 1.002 MB / 488.1 MB, free: 6.934 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6266, allocations: 0 / 488.1 MB, free: 6.934 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6277, allocations: 319.3 kB / 488.4 MB, free: 6.613 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.6284, allocations: 24.55 kB / 488.5 MB, free: 6.594 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.6346, allocations: 1.312 MB / 489.8 MB, free: 5.238 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.6352, allocations: 0.8489 MB / 490.6 MB, free: 4.359 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.6358, allocations: 183.4 kB / 490.8 MB, free: 4.184 MB / 379.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6358, allocations: 4 kB / 490.8 MB, free: 4.18 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.357, allocations: 9.947 MB / 0.489 GB, free: 10.26 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat