Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.3 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002498, allocations: 11.98 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09934, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008564/0.1079, allocations: 7.818 MB / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.1132, allocations: 2.567 MB / 368.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.1146, allocations: 67.81 kB / 368.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.116, allocations: 437.6 kB / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.1187, allocations: 0.6616 MB / 369.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1206, allocations: 0.7605 MB / 370.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1809/0.3015, allocations: 2.706 MB / 373.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01739/0.319, allocations: 9.162 MB / 382.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.3223, allocations: 1.519 MB / 383.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.326, allocations: 1.71 MB / 385.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3271, allocations: 275 kB / 385.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.3292, allocations: 466.6 kB / 386.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008519/0.3301, allocations: 0.7171 MB / 387 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.3318, allocations: 0.8709 MB / 387.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008131/0.3399, allocations: 7.501 MB / 395.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.3399, allocations: 1.406 kB / 395.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3399, allocations: 0 / 395.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.3402, allocations: 0 / 395.4 MB, free: 3.461 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01105/0.3512, allocations: 4.393 MB / 399.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3513, allocations: 12.38 kB / 399.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001266/0.3525, allocations: 0.6526 MB / 400.5 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007405/0.3599, allocations: 1.328 MB / 401.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.3644, allocations: 2.484 MB / 404.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.3646, allocations: 348.8 kB / 404.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007354/0.3654, allocations: 455.9 kB / 405.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.3758, allocations: 6.042 MB / 411.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/0.3759, allocations: 7.938 kB / 411.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.3763, allocations: 184 kB / 411.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3765, allocations: 197.5 kB / 411.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00841/0.3849, allocations: 5.257 MB / 416.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.4174, allocations: 21.3 MB / 438 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006092/0.4235, allocations: 5.6 MB / 443.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.4239, allocations: 197.4 kB / 443.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.4239, allocations: 47.56 kB / 443.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 7.354e-06/0.4239, allocations: 0 / 443.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.003031/0.427, allocations: 1.889 MB / 445.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.427, allocations: 64.36 kB / 445.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.4296, allocations: 1.45 MB / 447.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.4296, allocations: 41.7 kB / 447.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.4309, allocations: 1.956 MB / 449.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.4313, allocations: 364.7 kB / 449.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.4314, allocations: 52 kB / 449.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.4317, allocations: 451.3 kB / 450.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.433, allocations: 0.8514 MB / 451 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.4349, allocations: 1.961 MB / 452.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.4368, allocations: 1.358 MB / 454.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/0.4368, allocations: 8 kB / 454.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004436/0.4412, allocations: 2.871 MB / 457.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4413, allocations: 20 kB / 457.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.245e-05/0.4414, allocations: 44 kB / 457.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-05/0.4415, allocations: 60 kB / 457.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.4431, allocations: 0.5342 MB / 457.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.022e-05/0.4432, allocations: 79.7 kB / 457.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.4448, allocations: 301 kB / 458.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.445, allocations: 128 kB / 458.3 MB, free: 5.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * 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 (285): * Single equations (assignments): 281 * 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.003097/0.4481, allocations: 1.66 MB / 460 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.4484, allocations: 130.3 kB / 460.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.4508, allocations: 1.455 MB / 461.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001456/0.4522, allocations: 1.025 MB / 462.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4523, allocations: 4 kB / 462.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4523, allocations: 7.938 kB / 462.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.4705, allocations: 13.67 MB / 476.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.4705, allocations: 20 kB / 476.3 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.4713, allocations: 211.6 kB / 476.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.4713, allocations: 28 kB / 476.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/0.4714, allocations: 51.98 kB / 476.6 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-05/0.4715, allocations: 35.86 kB / 476.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/0.4715, allocations: 31.88 kB / 476.7 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/0.475, allocations: 3.768 MB / 480.4 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/0.4757, allocations: 331.1 kB / 480.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.476, allocations: 47.92 kB / 480.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.4769, allocations: 67.88 kB / 480.9 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.477, allocations: 139.5 kB / 481 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.4771, allocations: 51.98 kB / 481 MB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.4787, allocations: 0.9838 MB / 482 MB, free: 11.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 0 / 482 MB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003171/0.4819, allocations: 0.9398 MB / 483 MB, free: 10.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (101): * Single equations (assignments): 97 * 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.005433/0.4873, allocations: 10.16 MB / 493.1 MB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.4904, allocations: 1.92 MB / 495 MB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.4904, allocations: 4 kB / 495.1 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.4912, allocations: 0.617 MB / 495.7 MB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.4931, allocations: 367.3 kB / 496 MB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/0.5318, allocations: 42.29 MB / 0.5257 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2224/0.7542, allocations: 3.132 MB / 0.5288 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002574/0.7568, allocations: 0.8116 MB / 0.5296 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/0.7589, allocations: 1.279 MB / 0.5308 GB, free: 140.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.7589, allocations: 1.688 kB / 0.5308 GB, free: 140.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/0.838, allocations: 40.52 MB / 0.5704 GB, free: 114.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.8382, allocations: 200 kB / 0.5706 GB, free: 114.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.44, allocations: 0 / 0.5706 GB, free: 114.1 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat