Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",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.0009776/0.0009776, allocations: 97.52 kB / 16.93 MB, free: 6.445 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.001048/0.001048, allocations: 182.8 kB / 17.83 MB, free: 6.012 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.463/1.463, allocations: 205.4 MB / 224 MB, free: 13.18 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.0005573/0.0005573, allocations: 16 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 47.57 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004256/0.1115, allocations: 3.235 MB / 331.7 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1137, allocations: 0.9245 MB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.1142, allocations: 8 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1144, allocations: 67.44 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.1151, allocations: 199.4 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1155, allocations: 107.9 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009201/0.1165, allocations: 463.4 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.1168, allocations: 154.2 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.1172, allocations: 223.2 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.1177, allocations: 250.9 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.1178, allocations: 35.94 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1179, allocations: 32 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.118, allocations: 99.58 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1182, allocations: 129.4 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.1187, allocations: 474.8 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1187, allocations: 0 / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1187, allocations: 0 / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1187, allocations: 0 / 334.8 MB, free: 13.62 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001362/0.1201, allocations: 0.7831 MB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1201, allocations: 8.031 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1203, allocations: 107.7 kB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.1204, allocations: 63.25 kB / 335.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1209, allocations: 354.6 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1209, allocations: 41.27 kB / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.121, allocations: 63.89 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.1218, allocations: 0.4916 MB / 336.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1218, allocations: 0 / 336.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.1219, allocations: 24 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1219, allocations: 12 kB / 336.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.1225, allocations: 348.7 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.1251, allocations: 1.744 MB / 338.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1256, allocations: 271.2 kB / 339.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1256, allocations: 8 kB / 339.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1257, allocations: 34.56 kB / 339.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.1257, allocations: 0 / 339.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001834/0.1275, allocations: 0.9739 MB / 340.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.1276, allocations: 81.11 kB / 340.1 MB, free: 7.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/0.1281, allocations: 385.5 kB / 340.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1281, allocations: 37.7 kB / 340.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1283, allocations: 287.3 kB / 340.8 MB, free: 7.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.1284, allocations: 114.4 kB / 341 MB, free: 7.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.1284, allocations: 8 kB / 341 MB, free: 7.059 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1286, allocations: 358.7 kB / 341.3 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1288, allocations: 104.8 kB / 341.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.1291, allocations: 194.8 kB / 341.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.1293, allocations: 132.8 kB / 341.7 MB, free: 6.242 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1293, allocations: 0 / 341.7 MB, free: 6.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007695/0.1301, allocations: 452.9 kB / 342.2 MB, free: 5.789 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1301, allocations: 11.98 kB / 342.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1301, allocations: 0 / 342.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.1305, allocations: 85.81 kB / 342.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.1308, allocations: 83.84 kB / 342.4 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.1332, allocations: 2.861 MB / 345.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.1335, allocations: 23.86 kB / 345.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.1336, allocations: 16.38 kB / 345.3 MB, free: 2.441 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.1338, allocations: 177.7 kB / 345.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.1339, allocations: 39.53 kB / 345.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.134, allocations: 47.45 kB / 345.5 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.134, allocations: 4 kB / 345.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.134, allocations: 8 kB / 345.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.134, allocations: 3.984 kB / 345.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1354, allocations: 0.9479 MB / 346.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1354, allocations: 0 / 346.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.1356, allocations: 55.91 kB / 346.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.1359, allocations: 77.55 kB / 346.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.1359, allocations: 16 kB / 346.6 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.1382, allocations: 2.865 MB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1382, allocations: 4.031 kB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.1391, allocations: 0.6341 MB / 350.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1392, allocations: 112.6 kB / 350.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.1393, allocations: 8 kB / 350.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.1397, allocations: 39.97 kB / 350.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.1397, allocations: 27.95 kB / 350.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1398, allocations: 19.97 kB / 350.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.14, allocations: 267.2 kB / 350.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.14, allocations: 3.938 kB / 350.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.1407, allocations: 116 kB / 350.7 MB, free: 12.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.1419, allocations: 1.252 MB / 352 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009554/0.1429, allocations: 0.5166 MB / 352.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1429, allocations: 3.938 kB / 352.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.1435, allocations: 397.4 kB / 352.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1439, allocations: 57.48 kB / 352.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.1485, allocations: 4.342 MB / 357.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.1491, allocations: 0.8586 MB / 358.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.1493, allocations: 47.28 kB / 358.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.1495, allocations: 171.4 kB / 358.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1495, allocations: 0 / 358.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1745, allocations: 8.03 MB / 366.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.1748, allocations: 205.8 kB / 366.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/1.977, allocations: 3.938 kB / 366.6 MB, free: 12.46 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat