Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_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.0009034/0.0009034, allocations: 102.7 kB / 16.95 MB, free: 6.449 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.001021/0.001021, allocations: 182.5 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004486, allocations: 12 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 47.58 MB / 328.5 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003816/0.1081, allocations: 3.171 MB / 331.6 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1105, allocations: 1.345 MB / 333 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1107, allocations: 8 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.111, allocations: 127.3 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1121, allocations: 478.2 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.1128, allocations: 347.2 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.1132, allocations: 453.6 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.1145, allocations: 0.7075 MB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1148, allocations: 183.3 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.1151, allocations: 235 kB / 335.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.1152, allocations: 20 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.1155, allocations: 179.8 kB / 335.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.1156, allocations: 83.61 kB / 335.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.1157, allocations: 109.5 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.1163, allocations: 0.5262 MB / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1163, allocations: 0 / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1163, allocations: 0 / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1163, allocations: 0 / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001896/0.1182, allocations: 0.8542 MB / 337.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1182, allocations: 8.031 kB / 337.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.1184, allocations: 103.8 kB / 337.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.1223, allocations: 0.5925 MB / 337.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1227, allocations: 318.2 kB / 338.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.1228, allocations: 45.31 kB / 338.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.1229, allocations: 59.98 kB / 338.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1239, allocations: 0.5687 MB / 338.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1239, allocations: 0 / 338.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.124, allocations: 24 kB / 338.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.124, allocations: 23.98 kB / 339 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1251, allocations: 0.6493 MB / 339.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.1281, allocations: 2.071 MB / 341.7 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.1306, allocations: 2.991 MB / 344.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.131, allocations: 270.1 kB / 344.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/0.1311, allocations: 93.52 kB / 345 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1312, allocations: 39 kB / 345.1 MB, free: 2.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.314e-06/0.1312, allocations: 3.938 kB / 345.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001657/0.1328, allocations: 0.7621 MB / 345.8 MB, free: 1.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1329, allocations: 59.84 kB / 345.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1331, allocations: 205 kB / 346.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.1332, allocations: 37.7 kB / 346.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1333, allocations: 236.1 kB / 346.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1335, allocations: 169.5 kB / 346.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.1335, allocations: 12 kB / 346.5 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1336, allocations: 338.8 kB / 346.9 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.1339, allocations: 165 kB / 347 MB, free: 456 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.1343, allocations: 287.6 kB / 347.3 MB, free: 116 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1347, allocations: 196.9 kB / 347.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1347, allocations: 0 / 347.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001017/0.1357, allocations: 0.5982 MB / 348.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1358, allocations: 4 kB / 348.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1358, allocations: 4 kB / 348.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.1362, allocations: 84.78 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.1366, allocations: 115.8 kB / 348.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.1384, allocations: 1.644 MB / 349.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.1387, allocations: 59.42 kB / 350 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.1388, allocations: 20 kB / 350 MB, free: 13.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002945/0.1391, allocations: 181.6 kB / 350.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.1391, allocations: 27.7 kB / 350.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1403, allocations: 0.5591 MB / 350.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1403, allocations: 4 kB / 350.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.1403, allocations: 4 kB / 350.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1403, allocations: 7.922 kB / 350.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.1423, allocations: 1.185 MB / 352 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1423, allocations: 0 / 352 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.1426, allocations: 91.83 kB / 352.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.1429, allocations: 80.86 kB / 352.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.143, allocations: 12 kB / 352.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.1449, allocations: 1.64 MB / 353.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1449, allocations: 7.984 kB / 353.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1463, allocations: 0.8258 MB / 354.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1464, allocations: 108.8 kB / 354.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.1465, allocations: 12 kB / 354.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1467, allocations: 23.98 kB / 354.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.1468, allocations: 32.39 kB / 354.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.1469, allocations: 19.98 kB / 354.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.147, allocations: 148.1 kB / 355 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.147, allocations: 4 kB / 355 MB, free: 8.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.1476, allocations: 159.5 kB / 355.1 MB, free: 7.871 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 (46): * Single equations (assignments): 45 * 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.00169/0.1493, allocations: 1.41 MB / 356.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.1505, allocations: 0.5893 MB / 357.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1505, allocations: 0.9375 kB / 357.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.1511, allocations: 397.1 kB / 357.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1516, allocations: 36.12 kB / 357.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.1553, allocations: 2.292 MB / 359.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1557, allocations: 0.8249 MB / 360.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.1559, allocations: 55.27 kB / 360.7 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1561, allocations: 143.4 kB / 360.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1561, allocations: 4 kB / 360.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1784, allocations: 7.139 MB / 368 MB, free: 10.8 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.1786, allocations: 249.2 kB / 368.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.311, allocations: 0 / 368.3 MB, free: 10.55 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat