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.0009942/0.0009941, allocations: 93.77 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.0009473/0.0009474, allocations: 184.7 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.588/1.588, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004554/0.0004556, allocations: 16 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01127/0.1271, allocations: 11.65 MB / 340.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00902/0.1362, allocations: 3.741 MB / 343.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.139, allocations: 83.75 kB / 343.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.1415, allocations: 0.6098 MB / 344.5 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.1476, allocations: 1.488 MB / 346 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.1507, allocations: 0.8693 MB / 346.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.1639, allocations: 7.441 MB / 354.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02341/0.1874, allocations: 12.04 MB / 366.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.1925, allocations: 2.274 MB / 368.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.1979, allocations: 2.809 MB / 371.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.1994, allocations: 392 kB / 371.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.202, allocations: 0.5272 MB / 372.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.2033, allocations: 1.199 MB / 373.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.2059, allocations: 1.26 MB / 374.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2398/0.4457, allocations: 10.29 MB / 385.1 MB, free: 25.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4458, allocations: 1.219 kB / 385.1 MB, free: 25.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4458, allocations: 0 / 385.1 MB, free: 25.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004418/0.4463, allocations: 0 / 385.1 MB, free: 25.71 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.02371/0.47, allocations: 6.962 MB / 392.1 MB, free: 22.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.47, allocations: 9.25 kB / 392.1 MB, free: 22.47 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004278/0.4743, allocations: 1.145 MB / 393.2 MB, free: 22.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/0.5055, allocations: 5.104 MB / 398.3 MB, free: 20.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.5174, allocations: 3.502 MB / 401.8 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/0.5179, allocations: 0.5147 MB / 402.3 MB, free: 19.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/0.5219, allocations: 0.6653 MB / 403 MB, free: 19.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.5456, allocations: 10.4 MB / 413.4 MB, free: 16.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.5458, allocations: 11.89 kB / 413.4 MB, free: 16.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008524/0.5466, allocations: 280.7 kB / 413.7 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/0.547, allocations: 391.9 kB / 414.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.5627, allocations: 9.587 MB / 423.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/0.6175, allocations: 32 MB / 455.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/0.6363, allocations: 22.87 MB / 478.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.6481, allocations: 6.277 MB / 484.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.6482, allocations: 55.95 kB / 484.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.828e-06/0.6482, allocations: 0 / 484.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.006672/0.6549, allocations: 3.222 MB / 488.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.655, allocations: 98.3 kB / 488.2 MB, free: 2.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.6594, allocations: 2.589 MB / 490.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.6596, allocations: 53.7 kB / 490.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.6619, allocations: 3.12 MB / 493.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/0.6626, allocations: 0.5531 MB / 494.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.6628, allocations: 80 kB / 494.6 MB, free: 12.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.6631, allocations: 470.4 kB / 495 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.6655, allocations: 1.452 MB / 496.5 MB, free: 10.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.669, allocations: 3.226 MB / 499.7 MB, free: 6.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.6722, allocations: 2.199 MB / 0.4901 GB, free: 3.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-05/0.6722, allocations: 20 kB / 0.4902 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008546/0.6808, allocations: 5.058 MB / 0.4951 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.6809, allocations: 32 kB / 0.4951 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.681, allocations: 60 kB / 0.4952 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/0.6819, allocations: 347.6 kB / 0.4955 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.6851, allocations: 0.8822 MB / 0.4964 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.6904, allocations: 4.737 MB / 0.501 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.6941, allocations: 0.5261 MB / 0.5015 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005983/0.6947, allocations: 216 kB / 0.5017 GB, free: 8.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 276 * 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.00408/0.6988, allocations: 2.33 MB / 0.504 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/0.6993, allocations: 221.2 kB / 0.5042 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.7032, allocations: 2.346 MB / 0.5065 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.7032, allocations: 16 kB / 0.5065 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.7032, allocations: 8 kB / 0.5065 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.7033, allocations: 7.969 kB / 0.5065 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.7142, allocations: 5.346 MB / 0.5117 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.7143, allocations: 3.953 kB / 0.5117 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.7156, allocations: 254.5 kB / 0.512 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/0.7163, allocations: 261 kB / 0.5122 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.7165, allocations: 31.98 kB / 0.5123 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.7217, allocations: 4.614 MB / 0.5168 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7217, allocations: 0 / 0.5168 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/0.7269, allocations: 3.331 MB / 0.52 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.7284, allocations: 0.4939 MB / 0.5205 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.7288, allocations: 28 kB / 0.5205 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7299, allocations: 91.91 kB / 0.5206 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.7301, allocations: 104.7 kB / 0.5207 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/0.7302, allocations: 47.98 kB / 0.5208 GB, free: 4.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002656/0.7329, allocations: 1.701 MB / 0.5224 GB, free: 2.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7329, allocations: 0 / 0.5224 GB, free: 2.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005043/0.7379, allocations: 1.531 MB / 0.5239 GB, free: 1.219 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.005392/0.7434, allocations: 4.084 MB / 0.5279 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006193/0.7496, allocations: 3.507 MB / 0.5313 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.7496, allocations: 0 / 0.5313 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.752, allocations: 1.26 MB / 0.5326 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.7547, allocations: 450.4 kB / 0.533 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.9941, allocations: 66.71 MB / 0.5981 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00587/1, allocations: 4.29 MB / 0.6023 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004131/1.004, allocations: 1.281 MB / 0.6036 GB, free: 111.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/1.008, allocations: 2.098 MB / 0.6056 GB, free: 109.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.013e-06/1.008, allocations: 4 kB / 0.6056 GB, free: 109.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09242/1.1, allocations: 64.23 MB / 0.6684 GB, free: 50.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/1.101, allocations: 230.5 kB / 0.6686 GB, free: 50.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.863, allocations: 7.875 kB / 0.6686 GB, free: 50.32 MB / 446.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