Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008953/0.0008954, allocations: 98.17 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009004/0.0009005, allocations: 194.3 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246 MB, free: 11.88 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002593, allocations: 8 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003504/0.1209, allocations: 3.144 MB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1231, allocations: 1.348 MB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1233, allocations: 8 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1237, allocations: 127.3 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007799/0.1245, allocations: 310.7 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.1253, allocations: 469.2 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.1258, allocations: 418.1 kB / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1269, allocations: 0.6484 MB / 364.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1272, allocations: 171.3 kB / 364.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1274, allocations: 227.1 kB / 365.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1275, allocations: 20 kB / 365.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.1278, allocations: 175.8 kB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.1279, allocations: 83.67 kB / 365.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.128, allocations: 101.5 kB / 365.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.1286, allocations: 0.5106 MB / 366 MB, free: 6.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1286, allocations: 3.938 kB / 366 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1286, allocations: 0 / 366 MB, free: 6.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1286, allocations: 0 / 366 MB, free: 6.211 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001859/0.1305, allocations: 0.8232 MB / 366.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1305, allocations: 8.031 kB / 366.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1307, allocations: 99.67 kB / 367 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.134, allocations: 0.4989 MB / 367.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1344, allocations: 302.1 kB / 367.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.1344, allocations: 37.31 kB / 367.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.1345, allocations: 63.91 kB / 367.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.1355, allocations: 0.5102 MB / 368.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1355, allocations: 3.938 kB / 368.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.1355, allocations: 20 kB / 368.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1356, allocations: 16 kB / 368.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1366, allocations: 0.5868 MB / 369 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.1393, allocations: 1.952 MB / 370.9 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.216/0.3554, allocations: 2.183 MB / 373.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.356, allocations: 216.7 kB / 373.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.3561, allocations: 172.7 kB / 373.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3562, allocations: 38.31 kB / 373.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.454e-06/0.3562, allocations: 0.7188 kB / 373.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001924/0.3581, allocations: 0.8047 MB / 374.4 MB, free: 17.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3582, allocations: 56.7 kB / 374.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3584, allocations: 193.6 kB / 374.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3584, allocations: 33.67 kB / 374.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3585, allocations: 219.4 kB / 374.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3586, allocations: 162.6 kB / 375 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.3587, allocations: 9.281 kB / 375 MB, free: 16.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.3587, allocations: 334.1 kB / 375.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.3591, allocations: 153.1 kB / 375.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.3595, allocations: 229.1 kB / 375.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.3599, allocations: 187.1 kB / 375.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3599, allocations: 1 kB / 375.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001057/0.3609, allocations: 0.5401 MB / 376.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.361, allocations: 6.281 kB / 376.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.361, allocations: 2.234 kB / 376.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.3614, allocations: 88.38 kB / 376.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.3618, allocations: 98.84 kB / 376.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.3635, allocations: 1.843 MB / 378.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3637, allocations: 53.03 kB / 378.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3638, allocations: 19.02 kB / 378.5 MB, free: 14.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.364, allocations: 165.9 kB / 378.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.364, allocations: 24.09 kB / 378.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.3651, allocations: 0.5574 MB / 379.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3651, allocations: 8.984 kB / 379.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3651, allocations: 1.344 kB / 379.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3652, allocations: 4.312 kB / 379.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3667, allocations: 1.138 MB / 380.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3668, allocations: 0 / 380.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3671, allocations: 82.3 kB / 380.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.3674, allocations: 83.66 kB / 380.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3674, allocations: 11.75 kB / 380.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.3689, allocations: 1.843 MB / 382.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3689, allocations: 1.875 kB / 382.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3702, allocations: 0.8035 MB / 383.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.3703, allocations: 106.7 kB / 383.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3703, allocations: 14.12 kB / 383.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.3706, allocations: 23.44 kB / 383.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3707, allocations: 39.56 kB / 383.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.3707, allocations: 18.97 kB / 383.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3708, allocations: 129.7 kB / 383.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3708, allocations: 1.156 kB / 383.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.3715, allocations: 155.7 kB / 383.7 MB, free: 11.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/0.3731, allocations: 1.384 MB / 385.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3742, allocations: 0.5747 MB / 385.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3742, allocations: 1.031 kB / 385.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.3748, allocations: 387.5 kB / 386.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3752, allocations: 28.7 kB / 386.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.3784, allocations: 2.138 MB / 388.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3787, allocations: 0.8078 MB / 389 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.379, allocations: 42.5 kB / 389.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3792, allocations: 133.6 kB / 389.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3792, allocations: 0 / 389.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.4004, allocations: 6.918 MB / 396.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.4006, allocations: 233.9 kB / 396.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.376, allocations: 0 / 396.4 MB, free: 5.969 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat