Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.001028/0.001028, allocations: 96.95 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.001081/0.001081, allocations: 183.2 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.706/1.706, 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.0005106/0.0005107, allocations: 12 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 47.57 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004399/0.1133, allocations: 3.171 MB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1162, allocations: 1.341 MB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1164, allocations: 8 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1169, allocations: 127.3 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.118, allocations: 486.1 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.1186, allocations: 339.2 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.1191, allocations: 445.9 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1202, allocations: 0.6406 MB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.1205, allocations: 183.3 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1208, allocations: 243 kB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.1209, allocations: 24 kB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.1212, allocations: 175.8 kB / 335.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1213, allocations: 91.59 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.1214, allocations: 105.5 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.1219, allocations: 0.5106 MB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.122, allocations: 4 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.122, allocations: 0 / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.122, allocations: 0 / 336.3 MB, free: 12.05 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.001867/0.1239, allocations: 0.8426 MB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1239, allocations: 11.97 kB / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.1241, allocations: 107.8 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.128, allocations: 0.5926 MB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1284, allocations: 318.3 kB / 338.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1285, allocations: 41.31 kB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.1285, allocations: 56 kB / 338.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1296, allocations: 0.5648 MB / 338.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1296, allocations: 3.938 kB / 338.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.1297, allocations: 24 kB / 338.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1297, allocations: 20 kB / 338.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1308, allocations: 0.6376 MB / 339.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.1338, allocations: 2.073 MB / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1363, allocations: 2.998 MB / 344.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.1367, allocations: 230 kB / 344.8 MB, free: 2.742 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.1368, allocations: 85.55 kB / 344.9 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.1368, allocations: 42.98 kB / 344.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.1368, allocations: 4 kB / 344.9 MB, free: 2.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001791/0.1386, allocations: 0.8089 MB / 345.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1387, allocations: 59.84 kB / 345.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1389, allocations: 199.8 kB / 346 MB, free: 1.473 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1389, allocations: 33.7 kB / 346 MB, free: 1.434 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1391, allocations: 244 kB / 346.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1392, allocations: 169.6 kB / 346.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1392, allocations: 8 kB / 346.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1394, allocations: 338.8 kB / 346.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1397, allocations: 165 kB / 346.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.1401, allocations: 281.9 kB / 347.2 MB, free: 200 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1405, allocations: 192.8 kB / 347.4 MB, free: 4 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1405, allocations: 0 / 347.4 MB, free: 4 kB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00102/0.1415, allocations: 0.5981 MB / 348 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1415, allocations: 8 kB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.1416, allocations: 7.984 kB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.1419, allocations: 88.75 kB / 348.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.1423, allocations: 107.9 kB / 348.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1442, allocations: 1.85 MB / 350 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1445, allocations: 55.44 kB / 350.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.1445, allocations: 23.98 kB / 350.1 MB, free: 13.13 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 (58): * Single equations (assignments): 57 * 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.0002297/0.1448, allocations: 177.7 kB / 350.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.1448, allocations: 31.67 kB / 350.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1459, allocations: 0.5589 MB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1459, allocations: 8 kB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1459, allocations: 4 kB / 350.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.146, allocations: 7.984 kB / 350.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1476, allocations: 1.149 MB / 352.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1476, allocations: 4 kB / 352.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.1479, allocations: 79.89 kB / 352.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.1482, allocations: 84.81 kB / 352.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1482, allocations: 12 kB / 352.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.15, allocations: 1.835 MB / 354.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.15, allocations: 96 / 354.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1515, allocations: 0.8194 MB / 354.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.1516, allocations: 116.6 kB / 355 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1516, allocations: 12 kB / 355 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1518, allocations: 20 kB / 355 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.1519, allocations: 40.33 kB / 355.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.152, allocations: 8 kB / 355.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1521, allocations: 156.2 kB / 355.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 355.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.1527, allocations: 155.5 kB / 355.4 MB, free: 7.609 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 (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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/0.1544, allocations: 1.388 MB / 356.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1555, allocations: 0.5933 MB / 357.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1555, allocations: 4.75 kB / 357.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.1561, allocations: 392.9 kB / 357.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1564, allocations: 36.12 kB / 357.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.1599, allocations: 2.277 MB / 360.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1604, allocations: 0.8172 MB / 360.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.1606, allocations: 55.25 kB / 360.9 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1608, allocations: 147.4 kB / 361.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1608, allocations: 0 / 361.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1828, allocations: 7.125 MB / 368.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/0.1832, allocations: 250.9 kB / 368.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.295, allocations: 0 / 368.5 MB, free: 10.36 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance_res.mat does not exist to compare? outputFormat=mat