Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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.001097/0.001097, allocations: 99.52 kB / 16.94 MB, free: 5.98 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.001257/0.001257, allocations: 180.4 kB / 17.82 MB, free: 5.652 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.516/1.516, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004689/0.0004687, allocations: 19.28 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005243/0.1131, allocations: 4.732 MB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1169, allocations: 2.063 MB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.1177, allocations: 35.75 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.1185, allocations: 310.5 kB / 335.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1195, allocations: 466.5 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1198, allocations: 135.9 kB / 336.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1213, allocations: 1.462 MB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.1229, allocations: 1.322 MB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.1239, allocations: 0.7163 MB / 339.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.125, allocations: 0.8676 MB / 340.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1252, allocations: 128 kB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.1256, allocations: 183.9 kB / 340.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.1261, allocations: 0.4946 MB / 341.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.1265, allocations: 444.6 kB / 341.8 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.1292, allocations: 3.074 MB / 344.8 MB, free: 3.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1292, allocations: 4 kB / 344.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1292, allocations: 0 / 344.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.412e-05/0.1292, allocations: 0 / 344.8 MB, free: 3.504 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003997/0.1333, allocations: 2.022 MB / 346.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1333, allocations: 15.97 kB / 346.9 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003937/0.1337, allocations: 274 kB / 347.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.1344, allocations: 253.3 kB / 347.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.1365, allocations: 1.189 MB / 348.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1367, allocations: 131.5 kB / 348.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.1369, allocations: 176 kB / 348.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.1409, allocations: 2.524 MB / 351.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.1409, allocations: 0 / 351.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.1411, allocations: 79.94 kB / 351.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.1412, allocations: 91.58 kB / 351.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.145, allocations: 2.106 MB / 353.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.1572, allocations: 7.523 MB / 361.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.159, allocations: 1.263 MB / 362.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.1593, allocations: 125.5 kB / 362.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.1594, allocations: 39 kB / 362.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.406e-06/0.1594, allocations: 3.938 kB / 362.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004726/0.1641, allocations: 2.281 MB / 364.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.1642, allocations: 89.55 kB / 365 MB, free: 14.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.1666, allocations: 1.496 MB / 366.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.1667, allocations: 33.7 kB / 366.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008144/0.1675, allocations: 0.9711 MB / 367.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1677, allocations: 201.4 kB / 367.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1678, allocations: 20 kB / 367.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.168, allocations: 361.9 kB / 368.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/0.1687, allocations: 470.2 kB / 368.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.1699, allocations: 1.087 MB / 369.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1709, allocations: 0.676 MB / 370.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.171, allocations: 4 kB / 370.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002977/0.1739, allocations: 1.694 MB / 372 MB, free: 7.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.174, allocations: 16 kB / 372 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/0.174, allocations: 20.44 kB / 372 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.1749, allocations: 180.7 kB / 372.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009129/0.1758, allocations: 291.5 kB / 372.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.1783, allocations: 2.178 MB / 374.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.1796, allocations: 91.62 kB / 374.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.1797, allocations: 68.19 kB / 374.8 MB, free: 4.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001402/0.1811, allocations: 0.704 MB / 375.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.1814, allocations: 138.3 kB / 375.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.183, allocations: 0.8452 MB / 376.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.183, allocations: 4 kB / 376.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.183, allocations: 4.109 kB / 376.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.183, allocations: 7.938 kB / 376.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.187, allocations: 2.525 MB / 379 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.1871, allocations: 8 kB / 379 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1755/0.3625, allocations: 95.19 kB / 379.1 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000773/0.3634, allocations: 151.4 kB / 379.3 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.3634, allocations: 16.06 kB / 379.3 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.3654, allocations: 2.118 MB / 381.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3654, allocations: 7.797 kB / 381.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.3681, allocations: 1.474 MB / 382.9 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.3687, allocations: 287.7 kB / 383.2 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3688, allocations: 18.36 kB / 383.2 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.3694, allocations: 47.73 kB / 383.2 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3696, allocations: 51.12 kB / 383.3 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.3696, allocations: 19.58 kB / 383.3 MB, free: 47.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.3715, allocations: 1.031 MB / 384.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3715, allocations: 0 / 384.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0015/0.373, allocations: 350.1 kB / 384.7 MB, free: 47.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/0.3756, allocations: 2.807 MB / 387.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3777, allocations: 1.157 MB / 388.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3778, allocations: 2.031 kB / 388.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.3786, allocations: 0.5144 MB / 389.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.3799, allocations: 356.7 kB / 389.5 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/0.4006, allocations: 25.15 MB / 414.7 MB, free: 23.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.4018, allocations: 1.743 MB / 416.4 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.4029, allocations: 318.8 kB / 416.7 MB, free: 22.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.4035, allocations: 0.6235 MB / 417.3 MB, free: 22.28 MB / 318.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4035, allocations: 0 / 417.3 MB, free: 22.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.4513, allocations: 31.14 MB / 448.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.4516, allocations: 269.3 kB / 448.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.756, allocations: 0 / 448.7 MB, free: 7.539 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat