Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009636/0.0009639, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001135/0.001135, allocations: 183.9 kB / 17.21 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 9.781 kB / 300.9 MB, free: 5.938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 50.43 MB / 351.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01194/0.1199, allocations: 11.96 MB / 363.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007584/0.1275, allocations: 3.462 MB / 366.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.1298, allocations: 95.69 kB / 366.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1315, allocations: 0.5551 MB / 367.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.136, allocations: 1.251 MB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.1386, allocations: 0.8551 MB / 369.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.1516, allocations: 9.003 MB / 378.5 MB, free: 352 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.1729, allocations: 12.11 MB / 390.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.178, allocations: 2.336 MB / 393 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005208/0.1833, allocations: 2.798 MB / 395.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.1847, allocations: 376 kB / 396.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.1871, allocations: 0.5389 MB / 396.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.1883, allocations: 1.098 MB / 397.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.1905, allocations: 1.19 MB / 399 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.202, allocations: 9.988 MB / 409 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.202, allocations: 0 / 409 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.202, allocations: 0 / 409 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003625/0.2024, allocations: 0 / 409 MB, free: 1.781 MB / 334.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.01811/0.2205, allocations: 6.551 MB / 415.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2206, allocations: 12.03 kB / 415.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003048/0.2236, allocations: 1.046 MB / 416.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01819/0.2418, allocations: 2.908 MB / 419.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/0.2503, allocations: 3.589 MB / 423.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005124/0.2509, allocations: 489 kB / 423.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002541/0.2534, allocations: 0.6171 MB / 424.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2419/0.4953, allocations: 9.287 MB / 433.4 MB, free: 53.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/0.4956, allocations: 11.45 kB / 433.5 MB, free: 53.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.4968, allocations: 263.3 kB / 433.7 MB, free: 53.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000464/0.4973, allocations: 324.5 kB / 434 MB, free: 53.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.5123, allocations: 7.91 MB / 441.9 MB, free: 51.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04005/0.5524, allocations: 28.68 MB / 470.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.5605, allocations: 11.67 MB / 482.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.5626, allocations: 1.609 MB / 483.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.5629, allocations: 135.4 kB / 484 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5629, allocations: 60.56 kB / 484.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=238): time 3.878e-06/0.5629, allocations: 4 kB / 484.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.00633/0.5692, allocations: 4.134 MB / 488.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5693, allocations: 110.3 kB / 488.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.5715, allocations: 1.887 MB / 490.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.5717, allocations: 65.7 kB / 490.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.5728, allocations: 2.551 MB / 492.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.5733, allocations: 0.8195 MB / 493.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.5734, allocations: 68 kB / 493.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5736, allocations: 449.3 kB / 494.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.5752, allocations: 1.389 MB / 495.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.5776, allocations: 2.576 MB / 498.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.5803, allocations: 1.996 MB / 0.4884 GB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.5803, allocations: 8 kB / 0.4884 GB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006614/0.5869, allocations: 4.495 MB / 0.4928 GB, free: 8.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.587, allocations: 21.88 kB / 0.4928 GB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/0.587, allocations: 40.03 kB / 0.4929 GB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/0.5878, allocations: 312.2 kB / 0.4932 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.5904, allocations: 0.78 MB / 0.4939 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.5953, allocations: 4.605 MB / 0.4984 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.5975, allocations: 412 kB / 0.4988 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.5978, allocations: 164 kB / 0.499 GB, free: 1.621 MB / 366.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.003415/0.6012, allocations: 2.195 MB / 0.5011 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.6016, allocations: 205.4 kB / 0.5013 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/0.6066, allocations: 3.174 MB / 0.5044 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.6066, allocations: 24 kB / 0.5044 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.6066, allocations: 4 kB / 0.5044 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/0.6067, allocations: 15.95 kB / 0.5044 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.6241, allocations: 11.78 MB / 0.5159 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.6241, allocations: 12 kB / 0.516 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.6258, allocations: 447.4 kB / 0.5164 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/0.6265, allocations: 279.8 kB / 0.5166 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.6266, allocations: 67.98 kB / 0.5167 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.6314, allocations: 4.563 MB / 0.5212 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/0.6314, allocations: 23.88 kB / 0.5212 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.638, allocations: 4.972 MB / 0.526 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.639, allocations: 0.5329 MB / 0.5266 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.6393, allocations: 63.98 kB / 0.5266 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.6404, allocations: 126.8 kB / 0.5267 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.6407, allocations: 209.3 kB / 0.5269 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.6409, allocations: 84.17 kB / 0.527 GB, free: 3.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.6427, allocations: 1.275 MB / 0.5283 GB, free: 2.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6427, allocations: 8 kB / 0.5283 GB, free: 2.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004142/0.6469, allocations: 1.438 MB / 0.5297 GB, free: 1.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (226): * Single equations (assignments): 224 * 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.007294/0.6542, allocations: 5.631 MB / 0.5352 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005746/0.66, allocations: 3.605 MB / 0.5387 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/0.6601, allocations: 4 kB / 0.5387 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.6625, allocations: 1.678 MB / 0.5403 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/0.667, allocations: 0.4983 MB / 0.5408 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05847/0.7255, allocations: 24.11 MB / 0.5644 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003947/0.7295, allocations: 4.012 MB / 0.5683 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003315/0.7328, allocations: 1.191 MB / 0.5695 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/0.7353, allocations: 1.979 MB / 0.5714 GB, free: 4.645 MB / 446.1 MB Notification: Performance of SimCode: time 1.914e-06/0.7354, allocations: 0 / 0.5714 GB, free: 4.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/1.041, allocations: 61.88 MB / 0.6318 GB, free: 130.8 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.041, allocations: 238.5 kB / 0.6321 GB, free: 130.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/4.012, allocations: 4 kB / 0.6321 GB, free: 130.6 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat