Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008798/0.0008799, allocations: 97.2 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000903/0.0009032, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 8 kB / 306.8 MB, free: 1.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 51.5 MB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00425/0.1172, allocations: 3.136 MB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1197, allocations: 1.364 MB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.1199, allocations: 12 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1203, allocations: 115.4 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008244/0.1211, allocations: 318.6 kB / 363.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.122, allocations: 466.1 kB / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.1225, allocations: 422.1 kB / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.1239, allocations: 0.7075 MB / 364.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.1243, allocations: 179.3 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.1246, allocations: 215.1 kB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.1246, allocations: 23.98 kB / 365.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1251, allocations: 187.8 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.1252, allocations: 71.67 kB / 365.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1253, allocations: 101.5 kB / 365.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.126, allocations: 0.5219 MB / 366.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.126, allocations: 4 kB / 366.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.126, allocations: 0 / 366.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.126, allocations: 4 kB / 366.1 MB, free: 5.875 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.002095/0.1281, allocations: 0.8256 MB / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/0.1282, allocations: 8.031 kB / 367 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.1285, allocations: 103.7 kB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.1318, allocations: 0.4989 MB / 367.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.1323, allocations: 298.5 kB / 367.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.1323, allocations: 45.27 kB / 367.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.1324, allocations: 55.91 kB / 367.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1335, allocations: 0.5297 MB / 368.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.1335, allocations: 7.984 kB / 368.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.1336, allocations: 20 kB / 368.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1336, allocations: 12 kB / 368.5 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1347, allocations: 0.5868 MB / 369.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.1378, allocations: 1.973 MB / 371.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2002/0.338, allocations: 2.172 MB / 373.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.3387, allocations: 259.6 kB / 373.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.3389, allocations: 174.3 kB / 373.7 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3389, allocations: 40.06 kB / 373.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.3389, allocations: 0 / 373.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001783/0.3407, allocations: 0.7493 MB / 374.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3407, allocations: 58.28 kB / 374.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3409, allocations: 183.3 kB / 374.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.341, allocations: 38.23 kB / 374.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3411, allocations: 217.6 kB / 374.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3412, allocations: 162.3 kB / 375.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.3413, allocations: 8.906 kB / 375.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3413, allocations: 333.3 kB / 375.4 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.3417, allocations: 156 kB / 375.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.3421, allocations: 239.5 kB / 375.8 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.3425, allocations: 188.8 kB / 376 MB, free: 15.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3425, allocations: 4.938 kB / 376 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001175/0.3437, allocations: 0.544 MB / 376.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3437, allocations: 7.172 kB / 376.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3437, allocations: 2.062 kB / 376.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.3441, allocations: 80.7 kB / 376.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3445, allocations: 102.3 kB / 376.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.3461, allocations: 1.642 MB / 378.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3464, allocations: 54.77 kB / 378.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3464, allocations: 18.45 kB / 378.5 MB, free: 14.51 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.0001927/0.3466, allocations: 161.7 kB / 378.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.3467, allocations: 28.7 kB / 378.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3478, allocations: 0.554 MB / 379.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3478, allocations: 9.391 kB / 379.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3478, allocations: 5.312 kB / 379.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3478, allocations: 2.672 kB / 379.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.3494, allocations: 1.15 MB / 380.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3494, allocations: 1.375 kB / 380.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.3498, allocations: 85.36 kB / 380.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.35, allocations: 78.86 kB / 380.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.3501, allocations: 13.02 kB / 380.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3514, allocations: 1.631 MB / 382.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3514, allocations: 4.688 kB / 382.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3526, allocations: 0.8138 MB / 383 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3527, allocations: 117.3 kB / 383.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3527, allocations: 16.3 kB / 383.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3529, allocations: 18.09 kB / 383.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.353, allocations: 39.33 kB / 383.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3531, allocations: 13.8 kB / 383.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.3532, allocations: 135.5 kB / 383.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3532, allocations: 0 / 383.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.3537, allocations: 145.1 kB / 383.5 MB, free: 11.2 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.001591/0.3553, allocations: 1.397 MB / 384.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009851/0.3563, allocations: 0.5742 MB / 385.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3563, allocations: 0 / 385.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.3569, allocations: 383.8 kB / 385.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3573, allocations: 42.56 kB / 385.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.3604, allocations: 2.15 MB / 388 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3607, allocations: 0.8082 MB / 388.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.361, allocations: 47.17 kB / 388.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.3612, allocations: 138.5 kB / 389 MB, free: 7.629 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3612, allocations: 0 / 389 MB, free: 7.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.3829, allocations: 6.909 MB / 395.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.3831, allocations: 226.3 kB / 396.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.286, allocations: 1.094 kB / 396.1 MB, free: 5.668 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat