Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 97.89 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.001398/0.001398, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002338, allocations: 4 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1003, allocations: 51.51 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01172/0.1121, allocations: 11.11 MB / 369.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1942/0.3064, allocations: 3.637 MB / 373 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.3085, allocations: 88.16 kB / 373 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.3108, allocations: 0.5744 MB / 373.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.3158, allocations: 1.18 MB / 374.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.3187, allocations: 0.9618 MB / 375.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.331, allocations: 7.215 MB / 383 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02567/0.3567, allocations: 11.97 MB / 394.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.363, allocations: 2.122 MB / 397.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.369, allocations: 2.594 MB / 399.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.3709, allocations: 377.9 kB / 400 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.3748, allocations: 0.5363 MB / 400.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.3768, allocations: 1.071 MB / 401.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.3794, allocations: 1.194 MB / 402.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.3915, allocations: 9.985 MB / 412.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3916, allocations: 0 / 412.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3916, allocations: 0 / 412.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.3919, allocations: 4 kB / 412.8 MB, free: 5.602 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01762/0.4096, allocations: 6.571 MB / 419.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4096, allocations: 8.031 kB / 419.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003015/0.4127, allocations: 1.046 MB / 420.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.4313, allocations: 2.931 MB / 423.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008225/0.4396, allocations: 3.578 MB / 427 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.44, allocations: 485 kB / 427.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.4426, allocations: 0.6248 MB / 428.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.4647, allocations: 9.248 MB / 437.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.4649, allocations: 3.906 kB / 437.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007039/0.4656, allocations: 271.9 kB / 437.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.4659, allocations: 325.4 kB / 437.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.4798, allocations: 7.911 MB / 445.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/0.5322, allocations: 29.14 MB / 474.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.5444, allocations: 11.67 MB / 486.6 MB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/0.5449, allocations: 212.2 kB / 486.8 MB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.545, allocations: 68.55 kB / 486.9 MB, free: 8.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 6.602e-06/0.545, allocations: 0 / 486.9 MB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.008397/0.5535, allocations: 4.137 MB / 491 MB, free: 4.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.5536, allocations: 103 kB / 491.1 MB, free: 4.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.5564, allocations: 1.887 MB / 493 MB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.5568, allocations: 65.7 kB / 493.1 MB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.5586, allocations: 2.555 MB / 495.6 MB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.5597, allocations: 0.8127 MB / 496.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.56, allocations: 72 kB / 496.5 MB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.5603, allocations: 445.3 kB / 496.9 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5625, allocations: 1.396 MB / 498.3 MB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.5655, allocations: 2.571 MB / 0.4892 GB, free: 9.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.5684, allocations: 2.007 MB / 0.4911 GB, free: 7.938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.5684, allocations: 12 kB / 0.4911 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007243/0.5757, allocations: 4.491 MB / 0.4955 GB, free: 3.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.5757, allocations: 20 kB / 0.4956 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-05/0.5758, allocations: 44.06 kB / 0.4956 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.5766, allocations: 321.5 kB / 0.4959 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.5794, allocations: 0.7722 MB / 0.4967 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.5846, allocations: 4.68 MB / 0.5012 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.5871, allocations: 412 kB / 0.5016 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.5874, allocations: 160 kB / 0.5018 GB, free: 12.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003428/0.5909, allocations: 2.191 MB / 0.5039 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.5913, allocations: 213.3 kB / 0.5041 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/0.5964, allocations: 3.181 MB / 0.5072 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.5964, allocations: 24 kB / 0.5072 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.5964, allocations: 4 kB / 0.5072 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.5965, allocations: 11.95 kB / 0.5073 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/0.6152, allocations: 12.52 MB / 0.5195 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.6152, allocations: 12 kB / 0.5195 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.617, allocations: 435.3 kB / 0.5199 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/0.6177, allocations: 278 kB / 0.5202 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6179, allocations: 63.98 kB / 0.5202 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.623, allocations: 4.62 MB / 0.5247 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/0.623, allocations: 24 kB / 0.5248 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.194/0.817, allocations: 5.817 MB / 0.5304 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.8184, allocations: 0.5401 MB / 0.531 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.8188, allocations: 61.23 kB / 0.531 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.8202, allocations: 125.4 kB / 0.5312 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/0.8206, allocations: 201.1 kB / 0.5313 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/0.8208, allocations: 82.97 kB / 0.5314 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.8229, allocations: 1.277 MB / 0.5327 GB, free: 131 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8229, allocations: 0 / 0.5327 GB, free: 131 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004199/0.8271, allocations: 1.445 MB / 0.5341 GB, free: 130.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (224): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008365/0.8355, allocations: 10.19 MB / 0.544 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006191/0.8417, allocations: 3.612 MB / 0.5476 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.8417, allocations: 6.344 kB / 0.5476 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.8444, allocations: 1.679 MB / 0.5492 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.847, allocations: 465.2 kB / 0.5497 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.8849, allocations: 50.1 MB / 0.5986 GB, free: 81.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/0.8884, allocations: 4.1 MB / 0.6026 GB, free: 79.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003043/0.8915, allocations: 1.194 MB / 0.6038 GB, free: 79.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/0.8938, allocations: 1.993 MB / 0.6057 GB, free: 77.62 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8938, allocations: 0 / 0.6057 GB, free: 77.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0853/0.9791, allocations: 61.84 MB / 0.6661 GB, free: 17.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.9793, allocations: 231.7 kB / 0.6663 GB, free: 16.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.148, allocations: 4 kB / 0.6663 GB, free: 16.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat