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.0008944/0.0008943, allocations: 92.78 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009966/0.0009967, allocations: 203.8 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004005/0.1202, allocations: 3.068 MB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.122, allocations: 0.9665 MB / 362.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.1223, allocations: 15.94 kB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1226, allocations: 127.3 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.1233, allocations: 219.3 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1235, allocations: 83.91 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009809/0.1245, allocations: 0.8535 MB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009676/0.1255, allocations: 0.802 MB / 364.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.1261, allocations: 446.4 kB / 364.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.1268, allocations: 0.5174 MB / 365.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1269, allocations: 72 kB / 365.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1271, allocations: 79.98 kB / 365.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.1274, allocations: 323.1 kB / 365.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.1277, allocations: 273 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.1292, allocations: 1.613 MB / 367.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1292, allocations: 0 / 367.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1292, allocations: 8 kB / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.1292, allocations: 0 / 367.6 MB, free: 4.301 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.002835/0.1321, allocations: 1.465 MB / 369.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1321, allocations: 15.97 kB / 369.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.1324, allocations: 177 kB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.1329, allocations: 178.3 kB / 369.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1344, allocations: 0.8219 MB / 370.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.1345, allocations: 82.17 kB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1347, allocations: 108 kB / 370.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1998/0.3344, allocations: 1.532 MB / 372 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.3345, allocations: 1.969 kB / 372 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.3347, allocations: 45.44 kB / 372 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.3347, allocations: 27.73 kB / 372.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.3373, allocations: 1.318 MB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007021/0.3443, allocations: 4.241 MB / 377.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3454, allocations: 1.324 MB / 379 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3454, allocations: 6.469 kB / 379 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3455, allocations: 39.91 kB / 379 MB, free: 15.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.955e-06/0.3455, allocations: 0 / 379 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003316/0.3488, allocations: 1.977 MB / 381 MB, free: 14.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3489, allocations: 68.45 kB / 381 MB, free: 14.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3499, allocations: 0.8094 MB / 381.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.35, allocations: 31.17 kB / 381.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.3503, allocations: 0.5439 MB / 382.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3504, allocations: 174.2 kB / 382.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.3505, allocations: 11.56 kB / 382.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3506, allocations: 385.1 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.3512, allocations: 314.9 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.3517, allocations: 413.4 kB / 383.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.3523, allocations: 374.5 kB / 384.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3523, allocations: 5.062 kB / 384.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00142/0.3538, allocations: 0.9252 MB / 385 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3538, allocations: 6.469 kB / 385 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3538, allocations: 2.062 kB / 385 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.3541, allocations: 115.4 kB / 385.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.3546, allocations: 122.8 kB / 385.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.3566, allocations: 2.194 MB / 387.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.357, allocations: 37.64 kB / 387.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.357, allocations: 17.91 kB / 387.5 MB, free: 10.29 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 (59): * Single equations (assignments): 58 * 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.000606/0.3576, allocations: 457.2 kB / 387.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3577, allocations: 76.14 kB / 388 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.3579, allocations: 91.31 kB / 388.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3579, allocations: 5.375 kB / 388.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.3579, allocations: 3.781 kB / 388.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3579, allocations: 8.656 kB / 388.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.3608, allocations: 2.004 MB / 390.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3609, allocations: 0 / 390.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.3612, allocations: 91.53 kB / 390.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.3615, allocations: 108 kB / 390.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.3615, allocations: 11.75 kB / 390.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.3632, allocations: 2.149 MB / 392.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3632, allocations: 1.406 kB / 392.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3648, allocations: 1.229 MB / 393.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.3651, allocations: 166.5 kB / 393.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.3652, allocations: 8.125 kB / 393.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.3656, allocations: 59.64 kB / 393.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.3657, allocations: 38.25 kB / 394 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3658, allocations: 21.44 kB / 394 MB, free: 5.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006505/0.3664, allocations: 0.5791 MB / 394.6 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3664, allocations: 2 kB / 394.6 MB, free: 5.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008718/0.3673, allocations: 212.1 kB / 394.8 MB, free: 5.496 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * 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.00165/0.3689, allocations: 1.922 MB / 396.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3702, allocations: 0.8304 MB / 397.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3702, allocations: 1.219 kB / 397.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.3709, allocations: 498.4 kB / 398 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.3716, allocations: 159.4 kB / 398.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/0.3798, allocations: 7.739 MB / 405.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.3809, allocations: 1.36 MB / 407.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005703/0.3815, allocations: 193.6 kB / 407.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.3819, allocations: 367.3 kB / 407.8 MB, free: 10.83 MB / 318.1 MB Notification: Performance of SimCode: time 9.91e-07/0.382, allocations: 3.391 kB / 407.8 MB, free: 10.83 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4142, allocations: 17.8 MB / 425.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.4145, allocations: 204.8 kB / 425.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.499, allocations: 0 / 425.8 MB, free: 9.066 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