Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",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.001022/0.001022, allocations: 93.44 kB / 16.94 MB, free: 5.961 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.0009886/0.0009886, allocations: 183.8 kB / 17.83 MB, free: 5.641 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.381/1.381, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004651/0.0004652, allocations: 16 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09464, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003814/0.0985, allocations: 3.021 MB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1005, allocations: 1.041 MB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.1008, allocations: 19.88 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.101, allocations: 127.2 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.1017, allocations: 223.3 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1019, allocations: 91.89 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009877/0.1029, allocations: 0.8966 MB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009548/0.1038, allocations: 0.7586 MB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.1043, allocations: 454.4 kB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.105, allocations: 0.5409 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1051, allocations: 76 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1053, allocations: 76 kB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.1056, allocations: 343 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1058, allocations: 277 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1072, allocations: 1.64 MB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1072, allocations: 0 / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1072, allocations: 0 / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1072, allocations: 0 / 338 MB, free: 10.39 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002446/0.1097, allocations: 1.481 MB / 339.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1097, allocations: 12.03 kB / 339.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.11, allocations: 177.1 kB / 339.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.1102, allocations: 134.4 kB / 339.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1115, allocations: 0.8064 MB / 340.6 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.1115, allocations: 82.25 kB / 340.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1117, allocations: 108 kB / 340.8 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.114, allocations: 1.557 MB / 342.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.114, allocations: 0 / 342.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.1142, allocations: 44 kB / 342.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.1142, allocations: 28 kB / 342.4 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.1162, allocations: 1.336 MB / 343.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/0.1226, allocations: 4.357 MB / 348.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1238, allocations: 1.341 MB / 349.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1239, allocations: 4.438 kB / 349.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1239, allocations: 39 kB / 349.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.793e-06/0.1239, allocations: 0 / 349.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001372/0.1253, allocations: 0.9042 MB / 350.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1254, allocations: 63.8 kB / 350.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.1263, allocations: 0.8281 MB / 351.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.1263, allocations: 33.7 kB / 351.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.1267, allocations: 0.5415 MB / 351.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1268, allocations: 181.4 kB / 352 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1269, allocations: 8 kB / 352 MB, free: 11.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.127, allocations: 382.8 kB / 352.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.1275, allocations: 312.9 kB / 352.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.128, allocations: 410.5 kB / 353.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.1285, allocations: 377.9 kB / 353.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1285, allocations: 3.938 kB / 353.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001131/0.1296, allocations: 0.8417 MB / 354.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1297, allocations: 8.062 kB / 354.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1297, allocations: 4 kB / 354.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1297, allocations: 4 kB / 354.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.1303, allocations: 151.8 kB / 354.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1303, allocations: 11.94 kB / 354.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.1307, allocations: 67.41 kB / 354.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.1307, allocations: 24 kB / 354.6 MB, free: 9.223 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.0005656/0.1313, allocations: 457.4 kB / 355 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1314, allocations: 79.14 kB / 355.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.1315, allocations: 95.06 kB / 355.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1315, allocations: 4 kB / 355.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1316, allocations: 4 kB / 355.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1316, allocations: 3.953 kB / 355.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.1344, allocations: 1.961 MB / 357.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1344, allocations: 7.984 kB / 357.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.1349, allocations: 123.9 kB / 357.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.135, allocations: 4 kB / 357.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.135, allocations: 11.98 kB / 357.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.135, allocations: 0 / 357.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.135, allocations: 4 kB / 357.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1365, allocations: 1.178 MB / 358.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.1367, allocations: 172.2 kB / 358.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.1368, allocations: 12 kB / 358.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.1372, allocations: 55.89 kB / 358.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1373, allocations: 44.33 kB / 358.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1373, allocations: 12 kB / 358.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006998/0.138, allocations: 0.5888 MB / 359.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 359.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006875/0.1387, allocations: 278.8 kB / 359.6 MB, free: 4.012 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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.001862/0.1406, allocations: 1.941 MB / 361.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009815/0.1416, allocations: 0.6653 MB / 362.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1416, allocations: 0 / 362.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.1421, allocations: 335 kB / 362.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.1428, allocations: 174.9 kB / 362.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/0.152, allocations: 7.664 MB / 370.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/0.153, allocations: 1.36 MB / 371.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.1535, allocations: 213.7 kB / 372 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.1539, allocations: 383.3 kB / 372.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.154, allocations: 0 / 372.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/0.348, allocations: 17.38 MB / 389.7 MB, free: 50.12 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.3481, allocations: 185.2 kB / 389.9 MB, free: 49.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.343, allocations: 7.938 kB / 389.9 MB, free: 49.88 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat