Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.001341/0.001342, allocations: 99.7 kB / 16.95 MB, free: 6.449 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.001948/0.001948, allocations: 183.6 kB / 17.84 MB, free: 6.004 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.697/1.697, 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.0005407/0.000541, allocations: 8 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 47.58 MB / 328.5 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01475/0.1247, allocations: 12.57 MB / 341 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1349, allocations: 3.607 MB / 344.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/0.1383, allocations: 83.75 kB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.1411, allocations: 0.5745 MB / 345.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.1477, allocations: 1.474 MB / 346.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.151, allocations: 0.8577 MB / 347.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01527/0.1663, allocations: 9.511 MB / 357.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02701/0.1933, allocations: 12.2 MB / 369.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/0.1998, allocations: 2.515 MB / 371.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007286/0.2071, allocations: 3.047 MB / 374.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002029/0.2092, allocations: 392 kB / 375.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.2128, allocations: 0.5506 MB / 375.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.2153, allocations: 1.238 MB / 377.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.2186, allocations: 1.256 MB / 378.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.263/0.4816, allocations: 10.31 MB / 388.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.4817, allocations: 0.875 kB / 388.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4817, allocations: 5.531 kB / 388.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005356/0.4822, allocations: 0 / 388.6 MB, free: 24.89 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02484/0.5071, allocations: 6.969 MB / 395.6 MB, free: 21.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5072, allocations: 9.75 kB / 395.6 MB, free: 21.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006244/0.5134, allocations: 1.138 MB / 396.8 MB, free: 21.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03093/0.5444, allocations: 5.099 MB / 401.9 MB, free: 19.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.5545, allocations: 3.521 MB / 405.4 MB, free: 18.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/0.5551, allocations: 0.5116 MB / 405.9 MB, free: 18.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/0.5591, allocations: 0.6654 MB / 406.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03212/0.5913, allocations: 10.45 MB / 417 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.5916, allocations: 11.89 kB / 417 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.5934, allocations: 285.9 kB / 417.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.5937, allocations: 389.5 kB / 417.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.6123, allocations: 9.591 MB / 427.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/0.6759, allocations: 31.99 MB / 459.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.022/0.6979, allocations: 22.88 MB / 482.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.7016, allocations: 1.925 MB / 484.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.7132, allocations: 6.24 MB / 490.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.7133, allocations: 48 kB / 490.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 5.521e-06/0.7133, allocations: 0 / 490.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.006663/0.7199, allocations: 3.157 MB / 493.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.7201, allocations: 94.55 kB / 493.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/0.7248, allocations: 2.596 MB / 496.2 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.7251, allocations: 53.7 kB / 496.2 MB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.7279, allocations: 3.12 MB / 499.4 MB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008647/0.7288, allocations: 0.5517 MB / 499.9 MB, free: 8.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.7291, allocations: 80 kB / 500 MB, free: 8.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003767/0.7294, allocations: 470.4 kB / 0.4887 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.732, allocations: 1.45 MB / 0.4901 GB, free: 6.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00402/0.736, allocations: 3.243 MB / 0.4933 GB, free: 2.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.74, allocations: 2.19 MB / 0.4954 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.952e-05/0.7401, allocations: 20 kB / 0.4955 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009769/0.7498, allocations: 5.063 MB / 0.5004 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.7499, allocations: 28 kB / 0.5004 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.7501, allocations: 64 kB / 0.5005 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008537/0.7509, allocations: 348 kB / 0.5008 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.7541, allocations: 0.8735 MB / 0.5017 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.7594, allocations: 4.644 MB / 0.5062 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/0.7635, allocations: 0.5262 MB / 0.5067 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/0.7641, allocations: 212 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.005342/0.7694, allocations: 2.33 MB / 0.5092 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/0.77, allocations: 225.1 kB / 0.5094 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.774, allocations: 2.326 MB / 0.5117 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.7741, allocations: 19.98 kB / 0.5117 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7741, allocations: 4 kB / 0.5117 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.7741, allocations: 10.7 kB / 0.5117 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009898/0.784, allocations: 5.335 MB / 0.5169 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.7841, allocations: 0 / 0.5169 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.7853, allocations: 266.1 kB / 0.5172 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.786, allocations: 257.7 kB / 0.5174 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.7861, allocations: 38.61 kB / 0.5175 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/0.791, allocations: 4.519 MB / 0.5219 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.791, allocations: 0 / 0.5219 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/0.7963, allocations: 3.291 MB / 0.5251 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.7977, allocations: 497.7 kB / 0.5256 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.798, allocations: 31.95 kB / 0.5256 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.799, allocations: 99.89 kB / 0.5257 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.7992, allocations: 101.4 kB / 0.5258 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.7993, allocations: 47.98 kB / 0.5258 GB, free: 1.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.2731/1.072, allocations: 1.693 MB / 0.5275 GB, free: 143.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.032e-06/1.073, allocations: 0 / 0.5275 GB, free: 143.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008282/1.081, allocations: 1.528 MB / 0.529 GB, free: 143.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007503/1.088, allocations: 3.911 MB / 0.5328 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006689/1.095, allocations: 3.493 MB / 0.5362 GB, free: 141.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.095, allocations: 1.312 kB / 0.5362 GB, free: 141.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.097, allocations: 1.261 MB / 0.5374 GB, free: 140.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.1, allocations: 479.8 kB / 0.5379 GB, free: 140.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04522/1.145, allocations: 25.48 MB / 0.5628 GB, free: 122.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005093/1.15, allocations: 4.189 MB / 0.5669 GB, free: 119.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004204/1.155, allocations: 1.291 MB / 0.5681 GB, free: 118.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/1.158, allocations: 2.101 MB / 0.5702 GB, free: 116.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.372e-06/1.158, allocations: 0 / 0.5702 GB, free: 116.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/1.259, allocations: 64.28 MB / 0.633 GB, free: 52.56 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.259, allocations: 232.9 kB / 0.6332 GB, free: 52.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/5.042, allocations: 0 / 0.6332 GB, free: 52.32 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat