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.001095/0.001095, allocations: 97.78 kB / 16.94 MB, free: 5.539 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.001373/0.001373, allocations: 183.3 kB / 17.83 MB, free: 5.234 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.58/1.58, allocations: 205.4 MB / 224 MB, free: 13.08 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.0004638/0.0004639, allocations: 12.94 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09956, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003836/0.1035, allocations: 3.028 MB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.106, allocations: 1.349 MB / 332.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1063, allocations: 12 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.1067, allocations: 127.3 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1077, allocations: 490.5 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.1084, allocations: 347 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.1089, allocations: 335.1 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1101, allocations: 0.688 MB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.1105, allocations: 183.3 kB / 334.9 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1107, allocations: 235 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.1108, allocations: 24 kB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.1111, allocations: 155.8 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.1112, allocations: 83.66 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.1113, allocations: 105.4 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.1119, allocations: 0.53 MB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1119, allocations: 0 / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1119, allocations: 0 / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.112, allocations: 4 kB / 336.1 MB, free: 12.27 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.001995/0.114, allocations: 0.8427 MB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.114, allocations: 15.97 kB / 336.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.1142, allocations: 95.83 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/0.1182, allocations: 0.5965 MB / 337.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.1187, allocations: 322.2 kB / 337.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.1188, allocations: 45.31 kB / 338 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.1189, allocations: 55.98 kB / 338 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1199, allocations: 0.5648 MB / 338.6 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1199, allocations: 11.98 kB / 338.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.12, allocations: 24 kB / 338.6 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.12, allocations: 12 kB / 338.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1211, allocations: 0.6532 MB / 339.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.1242, allocations: 2.067 MB / 341.4 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.1267, allocations: 2.995 MB / 344.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/0.1269, allocations: 93.52 kB / 344.5 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1269, allocations: 39 kB / 344.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.056e-06/0.1269, allocations: 0 / 344.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001734/0.1287, allocations: 0.7743 MB / 345.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.1287, allocations: 59.84 kB / 345.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1289, allocations: 205 kB / 345.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.129, allocations: 33.7 kB / 345.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1291, allocations: 236.1 kB / 345.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.1293, allocations: 169.5 kB / 346 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1293, allocations: 12 kB / 346 MB, free: 1.496 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1294, allocations: 342.8 kB / 346.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1297, allocations: 177 kB / 346.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.1301, allocations: 282 kB / 346.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1305, allocations: 204.7 kB / 346.9 MB, free: 472 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1305, allocations: 3.938 kB / 347 MB, free: 468 kB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001057/0.1316, allocations: 0.594 MB / 347.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1316, allocations: 8 kB / 347.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1316, allocations: 4.344 kB / 347.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.132, allocations: 92.78 kB / 347.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1324, allocations: 107.8 kB / 347.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.1341, allocations: 1.671 MB / 349.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.1345, allocations: 55.5 kB / 349.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.1345, allocations: 23.98 kB / 349.5 MB, free: 13.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002625/0.1348, allocations: 173.7 kB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1349, allocations: 23.72 kB / 349.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1361, allocations: 0.5784 MB / 350.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1361, allocations: 8 kB / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1361, allocations: 3.984 kB / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1361, allocations: 0 / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.138, allocations: 1.184 MB / 351.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.138, allocations: 0 / 351.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.1384, allocations: 91.83 kB / 351.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.1387, allocations: 80.78 kB / 351.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.1387, allocations: 12 kB / 351.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.1403, allocations: 1.664 MB / 353.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1403, allocations: 0 / 353.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1417, allocations: 0.8351 MB / 354.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1418, allocations: 116.6 kB / 354.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.1418, allocations: 12 kB / 354.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1421, allocations: 12 kB / 354.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.1422, allocations: 40.38 kB / 354.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.1422, allocations: 15.94 kB / 354.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1424, allocations: 156.2 kB / 354.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.615e-06/0.1424, allocations: 3.938 kB / 354.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006661/0.1431, allocations: 159.5 kB / 354.7 MB, free: 8.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.00187/0.1449, allocations: 1.407 MB / 356.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1461, allocations: 0.605 MB / 356.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1461, allocations: 0 / 356.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.1467, allocations: 401.8 kB / 357.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1471, allocations: 28.12 kB / 357.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.1516, allocations: 4.249 MB / 361.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1521, allocations: 0.8253 MB / 362.2 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.1523, allocations: 55.25 kB / 362.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.1525, allocations: 139.4 kB / 362.4 MB, free: 484 kB / 302.1 MB Notification: Performance of SimCode: time 2.024e-06/0.1526, allocations: 0 / 362.4 MB, free: 484 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1762, allocations: 7.168 MB / 369.5 MB, free: 9.305 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.1766, allocations: 235.6 kB / 369.7 MB, free: 9.059 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.062, allocations: 4 kB / 369.8 MB, free: 9.055 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