Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",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.00111/0.00111, allocations: 99.17 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.001204/0.001205, allocations: 175.4 kB / 17.82 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.474/1.474, allocations: 205.4 MB / 224 MB, free: 13.09 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.0005024/0.0005027, allocations: 8 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005273/0.1214, allocations: 4.715 MB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.1245, allocations: 1.77 MB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.1251, allocations: 20 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.1257, allocations: 202.8 kB / 335.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.1275, allocations: 0.7245 MB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.1281, allocations: 231.6 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.129, allocations: 0.6203 MB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.1314, allocations: 1.459 MB / 338.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.1318, allocations: 314.8 kB / 338.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.1323, allocations: 434.2 kB / 338.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.1324, allocations: 40 kB / 338.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.1328, allocations: 171.8 kB / 339.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1329, allocations: 159.4 kB / 339.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.133, allocations: 173.3 kB / 339.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.1339, allocations: 0.9387 MB / 340.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1339, allocations: 0 / 340.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1339, allocations: 0 / 340.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1339, allocations: 0 / 340.4 MB, free: 7.973 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002822/0.1367, allocations: 1.249 MB / 341.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1368, allocations: 19.97 kB / 341.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.137, allocations: 164.9 kB / 341.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006575/0.1435, allocations: 0.9667 MB / 342.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.1442, allocations: 441.8 kB / 343.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.1442, allocations: 86.17 kB / 343.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.1444, allocations: 107.9 kB / 343.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.1462, allocations: 1.117 MB / 344.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1462, allocations: 0 / 344.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.1463, allocations: 40 kB / 344.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.1463, allocations: 31.94 kB / 344.6 MB, free: 3.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.1481, allocations: 1.14 MB / 345.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.1534, allocations: 3.976 MB / 349.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.1569, allocations: 3.752 MB / 353.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.1571, allocations: 97.64 kB / 353.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1571, allocations: 47.06 kB / 353.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.695e-06/0.1571, allocations: 0 / 353.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001481/0.1586, allocations: 0.7641 MB / 354.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.1587, allocations: 115.4 kB / 354.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.1591, allocations: 316.3 kB / 354.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.1592, allocations: 41.77 kB / 354.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.1595, allocations: 442 kB / 355.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.1596, allocations: 248.4 kB / 355.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1597, allocations: 19.94 kB / 355.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1599, allocations: 362.7 kB / 355.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.1603, allocations: 245.9 kB / 356.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.161, allocations: 0.563 MB / 356.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.1615, allocations: 335.1 kB / 357 MB, free: 6.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1615, allocations: 4 kB / 357 MB, free: 6.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001384/0.1629, allocations: 0.9028 MB / 357.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1629, allocations: 8 kB / 357.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.163, allocations: 12 kB / 357.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.163, allocations: 16 kB / 357.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.1638, allocations: 240.3 kB / 358.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.1638, allocations: 23.92 kB / 358.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.1643, allocations: 103 kB / 358.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.1643, allocations: 44 kB / 358.3 MB, free: 4.707 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.1646, allocations: 245.4 kB / 358.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1647, allocations: 47.44 kB / 358.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.1659, allocations: 0.6862 MB / 359.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1659, allocations: 15.94 kB / 359.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.166, allocations: 3.984 kB / 359.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.166, allocations: 4 kB / 359.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.1684, allocations: 1.594 MB / 360.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1684, allocations: 0 / 360.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.169, allocations: 151.8 kB / 361.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.169, allocations: 8 kB / 361.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.1691, allocations: 12 kB / 361.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.1691, allocations: 4 kB / 361.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1691, allocations: 3.938 kB / 361.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1707, allocations: 1.204 MB / 362.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1708, allocations: 136.3 kB / 362.4 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.1709, allocations: 19.92 kB / 362.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.1712, allocations: 32.05 kB / 362.5 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.1713, allocations: 40.59 kB / 362.5 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.1714, allocations: 20 kB / 362.5 MB, free: 384 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1716, allocations: 215 kB / 362.7 MB, free: 172 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1716, allocations: 0 / 362.7 MB, free: 172 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.1724, allocations: 243.1 kB / 363 MB, free: 15.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/0.1744, allocations: 1.922 MB / 364.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1755, allocations: 0.6951 MB / 365.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1755, allocations: 4 kB / 365.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.176, allocations: 327.8 kB / 365.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1763, allocations: 33.05 kB / 365.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/0.1842, allocations: 10.52 MB / 376.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.1847, allocations: 0.9361 MB / 377.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.1851, allocations: 92.89 kB / 377.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.1855, allocations: 291.3 kB / 377.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1855, allocations: 3.938 kB / 377.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1684/0.3539, allocations: 9.574 MB / 387.4 MB, free: 50.86 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.3541, allocations: 198.1 kB / 387.5 MB, free: 50.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.398, allocations: 4.938 kB / 387.6 MB, free: 50.62 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.Transformer_res.mat does not exist to compare? outputFormat=mat