Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.000968/0.0009679, allocations: 94.34 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.000972/0.000972, allocations: 178.6 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.494/1.494, 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.0004838/0.0004841, allocations: 16 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009231/0.131, allocations: 7.784 MB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.1376, allocations: 2.572 MB / 338.8 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.1389, allocations: 51.88 kB / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.14, allocations: 433.6 kB / 339.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.1426, allocations: 0.8997 MB / 340.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1441, allocations: 0.6391 MB / 340.8 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003866/0.148, allocations: 2.593 MB / 343.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01345/0.1614, allocations: 8.099 MB / 351.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.1642, allocations: 1.448 MB / 352.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.1666, allocations: 1.681 MB / 354.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.167, allocations: 256 kB / 354.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1682, allocations: 423.8 kB / 355.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006553/0.1688, allocations: 0.728 MB / 356 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009872/0.1698, allocations: 0.8162 MB / 356.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.1765, allocations: 6.798 MB / 363.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1766, allocations: 0 / 363.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1766, allocations: 3.938 kB / 363.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.1767, allocations: 8 kB / 363.6 MB, free: 0.6211 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01096/0.1877, allocations: 4.273 MB / 367.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1878, allocations: 8.031 kB / 367.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001444/0.1892, allocations: 0.6414 MB / 368.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.204, allocations: 2.586 MB / 371.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005972/0.2101, allocations: 2.123 MB / 373.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.2104, allocations: 345 kB / 373.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.2117, allocations: 436 kB / 374 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2343/0.4459, allocations: 6.056 MB / 380.1 MB, free: 43.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002811/0.4463, allocations: 1.625 kB / 380.1 MB, free: 43.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/0.4479, allocations: 182 kB / 380.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/0.4482, allocations: 218 kB / 380.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4631, allocations: 5.766 MB / 386.2 MB, free: 42.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03293/0.4961, allocations: 21.49 MB / 407.7 MB, free: 28.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.5023, allocations: 8.976 MB / 416.7 MB, free: 19.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005091/0.5075, allocations: 3.853 MB / 420.6 MB, free: 16.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5075, allocations: 38.73 kB / 420.6 MB, free: 16.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/0.5075, allocations: 0 / 420.6 MB, free: 16.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001027/0.5086, allocations: 0.9117 MB / 421.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5086, allocations: 51.59 kB / 421.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.5113, allocations: 2.072 MB / 423.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.5113, allocations: 29.7 kB / 423.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/0.5123, allocations: 2.204 MB / 425.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.5124, allocations: 141.4 kB / 426 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.5125, allocations: 48 kB / 426.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.5127, allocations: 459.9 kB / 426.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.5138, allocations: 0.9184 MB / 427.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5154, allocations: 2.267 MB / 429.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.5169, allocations: 1.449 MB / 431.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.5169, allocations: 12 kB / 431.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003757/0.5207, allocations: 3.203 MB / 434.4 MB, free: 2.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.5207, allocations: 28 kB / 434.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.5208, allocations: 44 kB / 434.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.259e-05/0.5208, allocations: 75.98 kB / 434.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.5224, allocations: 0.5927 MB / 435.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.004e-05/0.5224, allocations: 95.64 kB / 435.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.5243, allocations: 428.4 kB / 435.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.5244, allocations: 144 kB / 435.7 MB, free: 0.6719 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002706/0.5271, allocations: 1.558 MB / 437.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.5274, allocations: 134.2 kB / 437.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009395/0.5283, allocations: 0.5605 MB / 438 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003731/0.5287, allocations: 284.8 kB / 438.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5287, allocations: 0 / 438.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5287, allocations: 3.984 kB / 438.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.5343, allocations: 3.386 MB / 441.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5343, allocations: 0 / 441.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.5345, allocations: 31.92 kB / 441.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5345, allocations: 8.281 kB / 441.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.5346, allocations: 22.56 kB / 441.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.5346, allocations: 4 kB / 441.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5346, allocations: 4 kB / 441.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5356, allocations: 0.8731 MB / 442.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/0.5363, allocations: 287.2 kB / 442.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.5364, allocations: 15.97 kB / 442.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.537, allocations: 31.95 kB / 442.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.537, allocations: 27.94 kB / 443 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.537, allocations: 11.98 kB / 443 MB, free: 9.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.5389, allocations: 1.379 MB / 444.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.539, allocations: 0 / 444.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002792/0.5418, allocations: 0.9272 MB / 445.3 MB, free: 6.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001665/0.5434, allocations: 2.052 MB / 447.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.5464, allocations: 1.693 MB / 449 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5464, allocations: 3.938 kB / 449 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.5467, allocations: 152.7 kB / 449.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.548, allocations: 272.3 kB / 449.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/0.5889, allocations: 47.38 MB / 496.8 MB, free: 2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/0.5919, allocations: 2.954 MB / 499.8 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002075/0.594, allocations: 0.7631 MB / 0.4888 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.5954, allocations: 1.206 MB / 0.49 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5955, allocations: 0 / 0.49 GB, free: 13.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/0.6653, allocations: 39.4 MB / 0.5285 GB, free: 5.59 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.6656, allocations: 206.5 kB / 0.5287 GB, free: 5.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.936, allocations: 0 / 0.5287 GB, free: 5.348 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat