Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 98.05 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 197.8 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003532, allocations: 4 kB / 306.8 MB, free: 1.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 51.5 MB / 358.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003764/0.1449, allocations: 3.251 MB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1468, allocations: 0.9312 MB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.1471, allocations: 23.88 kB / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1474, allocations: 111.2 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007161/0.1481, allocations: 250.8 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1484, allocations: 91.89 kB / 363 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.1501, allocations: 1.475 MB / 364.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000975/0.151, allocations: 0.8098 MB / 365.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.1518, allocations: 474.2 kB / 365.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.1525, allocations: 0.6148 MB / 366.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1526, allocations: 68 kB / 366.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1528, allocations: 76 kB / 366.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.1532, allocations: 346.9 kB / 366.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.1535, allocations: 273 kB / 367.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.1553, allocations: 1.621 MB / 368.7 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.1553, allocations: 11.94 kB / 368.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1553, allocations: 0 / 368.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.1553, allocations: 0 / 368.7 MB, free: 3.555 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002963/0.1583, allocations: 1.473 MB / 370.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.1584, allocations: 8.031 kB / 370.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/0.1586, allocations: 177 kB / 370.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000533/0.1592, allocations: 178.3 kB / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.1606, allocations: 0.8142 MB / 371.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.1606, allocations: 90.17 kB / 371.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.1608, allocations: 104 kB / 371.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2563/0.4171, allocations: 1.539 MB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.4172, allocations: 0.625 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.4173, allocations: 50.02 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.4173, allocations: 26.38 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.4202, allocations: 1.318 MB / 374.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007026/0.4273, allocations: 4.24 MB / 378.7 MB, free: 16.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4285, allocations: 1.323 MB / 380 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.4293, allocations: 478.3 kB / 380.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.4293, allocations: 5.719 kB / 380.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4293, allocations: 38.94 kB / 380.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.977e-06/0.4294, allocations: 0 / 380.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003533/0.4329, allocations: 1.97 MB / 382.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4329, allocations: 57.28 kB / 382.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4341, allocations: 0.8076 MB / 383.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4342, allocations: 35.98 kB / 383.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.4345, allocations: 0.5443 MB / 383.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.4347, allocations: 183.5 kB / 384.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.4347, allocations: 10.56 kB / 384.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4348, allocations: 389.1 kB / 384.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.4354, allocations: 309 kB / 384.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.436, allocations: 403.8 kB / 385.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.4366, allocations: 372.4 kB / 385.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4367, allocations: 5.062 kB / 385.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00164/0.4383, allocations: 0.924 MB / 386.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.4383, allocations: 6.438 kB / 386.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4384, allocations: 6.016 kB / 386.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.4387, allocations: 113.4 kB / 386.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.4393, allocations: 123.7 kB / 386.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.4418, allocations: 2.178 MB / 388.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.4423, allocations: 30.38 kB / 389 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.4423, allocations: 18.19 kB / 389 MB, free: 10.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009554/0.4433, allocations: 454.7 kB / 389.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4435, allocations: 80.09 kB / 389.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.4437, allocations: 93.52 kB / 389.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4437, allocations: 5.156 kB / 389.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.4437, allocations: 2.438 kB / 389.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4437, allocations: 3.984 kB / 389.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.4469, allocations: 2.034 MB / 391.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.447, allocations: 1.5 kB / 391.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.4473, allocations: 93.81 kB / 391.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.4476, allocations: 101.5 kB / 391.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.4476, allocations: 12 kB / 391.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.4495, allocations: 2.137 MB / 394 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4495, allocations: 2.078 kB / 394 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4513, allocations: 1.216 MB / 395.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.4515, allocations: 164.5 kB / 395.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.4516, allocations: 14.48 kB / 395.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.452, allocations: 51.23 kB / 395.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.4521, allocations: 47.12 kB / 395.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.4521, allocations: 14.88 kB / 395.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000775/0.4529, allocations: 0.5806 MB / 396.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4529, allocations: 0 / 396.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.4538, allocations: 209 kB / 396.3 MB, free: 5.375 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001861/0.4557, allocations: 1.778 MB / 398 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.457, allocations: 0.8243 MB / 398.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.457, allocations: 0 / 398.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.4577, allocations: 496.1 kB / 399.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.4585, allocations: 168.6 kB / 399.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008344/0.4668, allocations: 6.317 MB / 405.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.4679, allocations: 1.332 MB / 407.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.4685, allocations: 189.8 kB / 407.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/0.469, allocations: 379.3 kB / 407.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.469, allocations: 0 / 407.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.5029, allocations: 17.87 MB / 425.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.5031, allocations: 213.7 kB / 425.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.689, allocations: 3.375 kB / 425.8 MB, free: 9.48 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat