Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008928, allocations: 93.25 kB / 16.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009148, allocations: 179.6 kB / 17.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 241.2 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002694, allocations: 8 kB / 300.9 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 50.41 MB / 351.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003713/0.123, allocations: 3.127 MB / 354.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1252, allocations: 1.309 MB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1254, allocations: 8 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.1258, allocations: 123.3 kB / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009964/0.1268, allocations: 449.5 kB / 356.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.1275, allocations: 343.8 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.128, allocations: 426 kB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.1293, allocations: 0.7 MB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.1296, allocations: 167.3 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1299, allocations: 231 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.13, allocations: 23.94 kB / 358.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.1304, allocations: 175.8 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.1305, allocations: 83.61 kB / 358.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.1306, allocations: 97.52 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.1312, allocations: 0.5141 MB / 359.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1312, allocations: 0 / 359.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1312, allocations: 4 kB / 359.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1312, allocations: 0 / 359.1 MB, free: 11.89 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.001885/0.1331, allocations: 0.831 MB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1331, allocations: 8.031 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.1333, allocations: 99.73 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.1366, allocations: 498.9 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.137, allocations: 310.3 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.1371, allocations: 37.31 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.1372, allocations: 59.91 kB / 360.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.1382, allocations: 0.5258 MB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1382, allocations: 0 / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.1383, allocations: 27.98 kB / 361.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1383, allocations: 12 kB / 361.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1394, allocations: 0.5829 MB / 362 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.1427, allocations: 1.89 MB / 363.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.1448, allocations: 2.167 MB / 366.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.1453, allocations: 268.5 kB / 366.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.1454, allocations: 97.52 kB / 366.5 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1455, allocations: 35 kB / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.036e-06/0.1455, allocations: 0 / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001915/0.1474, allocations: 0.7505 MB / 367.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1475, allocations: 59.83 kB / 367.3 MB, free: 3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1477, allocations: 190.2 kB / 367.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.1478, allocations: 33.7 kB / 367.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1479, allocations: 216.5 kB / 367.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1481, allocations: 161.6 kB / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1481, allocations: 8 kB / 367.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1483, allocations: 338.8 kB / 368.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.1486, allocations: 161 kB / 368.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.149, allocations: 238.6 kB / 368.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1493, allocations: 184.8 kB / 368.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.1494, allocations: 0 / 368.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001013/0.1504, allocations: 0.5435 MB / 369.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1504, allocations: 11.98 kB / 369.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.1504, allocations: 0 / 369.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1508, allocations: 84.8 kB / 369.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.1513, allocations: 95.88 kB / 369.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2274/0.3787, allocations: 1.637 MB / 371.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.3791, allocations: 48.17 kB / 371.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.3791, allocations: 20.48 kB / 371.2 MB, free: 22.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002776/0.3794, allocations: 164.8 kB / 371.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3795, allocations: 28.38 kB / 371.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3808, allocations: 0.5509 MB / 372 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3808, allocations: 5.656 kB / 372 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3808, allocations: 1.312 kB / 372 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3808, allocations: 6.141 kB / 372 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3828, allocations: 1.159 MB / 373.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3829, allocations: 0.5156 kB / 373.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.3832, allocations: 86.81 kB / 373.2 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3836, allocations: 77.25 kB / 373.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.3836, allocations: 15.34 kB / 373.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.3851, allocations: 1.636 MB / 375 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3851, allocations: 8.062 kB / 375 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3866, allocations: 0.8066 MB / 375.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.3867, allocations: 113.5 kB / 375.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.3868, allocations: 9.906 kB / 375.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.387, allocations: 21.08 kB / 375.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3871, allocations: 48.31 kB / 376 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3872, allocations: 14.86 kB / 376 MB, free: 20.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3873, allocations: 132.8 kB / 376.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3873, allocations: 0 / 376.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000677/0.388, allocations: 149.1 kB / 376.3 MB, free: 20.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.3899, allocations: 1.384 MB / 377.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.391, allocations: 0.5781 MB / 378.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.391, allocations: 0 / 378.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.3916, allocations: 387.4 kB / 378.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3921, allocations: 29.97 kB / 378.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.3957, allocations: 2.154 MB / 380.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.396, allocations: 0.8097 MB / 381.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.3963, allocations: 46 kB / 381.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3965, allocations: 134.6 kB / 381.8 MB, free: 17 MB / 302.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3965, allocations: 0 / 381.8 MB, free: 17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.4189, allocations: 6.854 MB / 388.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.4192, allocations: 227.4 kB / 388.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.318, allocations: 3.875 kB / 388.8 MB, free: 15.35 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat