Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2223/0.2223, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 75.52 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02554/0.1443, allocations: 22.75 MB / 0.4912 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.1574, allocations: 5.514 MB / 0.4966 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.1617, allocations: 199.4 kB / 0.4967 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2287/0.3904, allocations: 9.467 MB / 0.506 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007468/0.3979, allocations: 2.141 MB / 0.5081 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.4031, allocations: 1.899 MB / 0.5099 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.4208, allocations: 14.36 MB / 0.524 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05515/0.476, allocations: 34.45 MB / 0.5576 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.4893, allocations: 7.969 MB / 0.5654 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01453/0.5039, allocations: 8.736 MB / 0.5739 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008034/0.5119, allocations: 2.098 MB / 0.576 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.5221, allocations: 2.358 MB / 0.5783 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007127/0.5292, allocations: 4.328 MB / 0.5825 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01539/0.5447, allocations: 8.428 MB / 0.5907 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03279/0.5775, allocations: 28.52 MB / 0.6186 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.5775, allocations: 4 kB / 0.6186 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5775, allocations: 0 / 0.6186 GB, free: 4.652 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009586/0.5785, allocations: 0 / 0.6186 GB, free: 4.652 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06537/0.6439, allocations: 18.7 MB / 0.6368 GB, free: 2.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6439, allocations: 12.03 kB / 0.6368 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009873/0.6538, allocations: 2.01 MB / 0.6388 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1186/0.7725, allocations: 11.42 MB / 0.65 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/0.8009, allocations: 8.571 MB / 0.6583 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001888/0.8028, allocations: 1.06 MB / 0.6594 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008818/0.8117, allocations: 1.373 MB / 0.6607 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07841/0.8901, allocations: 23.63 MB / 0.6838 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007219/0.8909, allocations: 23.75 kB / 0.6838 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005064/0.896, allocations: 0.571 MB / 0.6844 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008979/0.8969, allocations: 0.7017 MB / 0.685 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.485/1.382, allocations: 21.74 MB / 0.7063 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/1.512, allocations: 72.74 MB / 0.7773 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02212/1.534, allocations: 28.69 MB / 0.8053 GB, free: 75.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007434/1.542, allocations: 4.965 MB / 0.8102 GB, free: 70.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03204/1.574, allocations: 16.57 MB / 0.8263 GB, free: 53.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/1.574, allocations: 86.11 kB / 0.8264 GB, free: 53.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.993e-06/1.574, allocations: 0 / 0.8264 GB, free: 53.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03742/1.611, allocations: 15.74 MB / 0.8418 GB, free: 38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.611, allocations: 124.7 kB / 0.8419 GB, free: 37.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009391/1.621, allocations: 5.097 MB / 0.8469 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009742/1.622, allocations: 101.7 kB / 0.847 GB, free: 32.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/1.625, allocations: 5.894 MB / 0.8528 GB, free: 26.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.626, allocations: 1.585 MB / 0.8543 GB, free: 25.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003697/1.63, allocations: 1.547 MB / 0.8558 GB, free: 23.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/1.63, allocations: 305.1 kB / 0.8561 GB, free: 23.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/1.636, allocations: 4.148 MB / 0.8602 GB, free: 19.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007337/1.643, allocations: 7.271 MB / 0.8673 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.658, allocations: 11.96 MB / 0.8789 GB, free: 13.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.658, allocations: 28 kB / 0.879 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0284/1.686, allocations: 13.14 MB / 0.8918 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.687, allocations: 52 kB / 0.8918 GB, free: 15.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/1.687, allocations: 100 kB / 0.8919 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007641/1.694, allocations: 3.114 MB / 0.895 GB, free: 12.55 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007094/1.702, allocations: 1.603 MB / 0.8965 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/1.703, allocations: 342.9 kB / 0.8969 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00764/1.711, allocations: 1.045 MB / 0.8979 GB, free: 9.539 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.712, allocations: 384 kB / 0.8982 GB, free: 9.164 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01214/1.725, allocations: 5.401 MB / 0.9035 GB, free: 3.746 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.727, allocations: 0.4899 MB / 0.904 GB, free: 3.25 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/1.748, allocations: 9.635 MB / 0.9134 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.272e-05/1.748, allocations: 44 kB / 0.9135 GB, free: 9.539 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.748, allocations: 7.984 kB / 0.9135 GB, free: 9.531 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.637e-05/1.748, allocations: 19.92 kB / 0.9135 GB, free: 9.512 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2616/2.01, allocations: 20.86 MB / 0.9338 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/2.01, allocations: 1.875 kB / 0.9339 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003933/2.014, allocations: 0.7386 MB / 0.9346 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006837/2.021, allocations: 2.979 MB / 0.9375 GB, free: 186 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009223/2.022, allocations: 104.1 kB / 0.9376 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/2.023, allocations: 147.6 kB / 0.9377 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.023, allocations: 3.625 kB / 0.9377 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02271/2.045, allocations: 14.24 MB / 0.9516 GB, free: 180.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/2.049, allocations: 1.366 MB / 0.953 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/2.051, allocations: 83.03 kB / 0.953 GB, free: 180.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.055, allocations: 355.5 kB / 0.9534 GB, free: 180 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/2.056, allocations: 324.6 kB / 0.9537 GB, free: 180 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007118/2.057, allocations: 140.4 kB / 0.9538 GB, free: 180 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006165/2.063, allocations: 3.421 MB / 0.9572 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.2e-07/2.063, allocations: 5.031 kB / 0.9572 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009734/2.073, allocations: 3.191 MB / 0.9603 GB, free: 177.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03096/2.104, allocations: 14.96 MB / 0.9749 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0644/2.168, allocations: 19.64 MB / 0.9941 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/2.168, allocations: 4 kB / 0.9941 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00883/2.177, allocations: 4.457 MB / 0.9984 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/2.184, allocations: 1.276 MB / 0.9997 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/2.31, allocations: 89.94 MB / 1.088 GB, free: 52.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/2.323, allocations: 9.01 MB / 1.096 GB, free: 43.15 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007506/2.33, allocations: 2.873 MB / 1.099 GB, free: 40.27 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008266/2.339, allocations: 4.697 MB / 1.104 GB, free: 35.57 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/2.339, allocations: 0 / 1.104 GB, free: 35.57 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4733/2.812, allocations: 178.1 MB / 1.278 GB, free: 75.28 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/17.83, allocations: 15.38 kB / 1.278 GB, free: 75.27 MB / 0.5763 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)