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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 219.8 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 230.2 MB / 256.1 MB, free: 8.773 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1972/0.1972, allocations: 46.89 MB / 359.3 MB, free: 5.012 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002069/0.002069, allocations: 83.86 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2567, allocations: 65.98 MB / 0.5584 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02304/0.2798, allocations: 22.86 MB / 0.5807 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2905, allocations: 5.545 MB / 0.5862 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.2937, allocations: 195.4 kB / 0.5863 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0195/0.3132, allocations: 9.561 MB / 0.5957 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007462/0.3207, allocations: 2.163 MB / 0.5978 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.3257, allocations: 1.909 MB / 0.5997 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.3418, allocations: 14.46 MB / 0.6138 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03354/0.3753, allocations: 20.06 MB / 0.6334 GB, free: 8.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01015/0.3855, allocations: 8.011 MB / 0.6412 GB, free: 60 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.3988, allocations: 8.791 MB / 0.6498 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00497/0.4037, allocations: 2.098 MB / 0.6518 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006898/0.4106, allocations: 2.351 MB / 0.6541 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006182/0.4168, allocations: 4.333 MB / 0.6583 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01326/0.4301, allocations: 8.432 MB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03041/0.4605, allocations: 28.77 MB / 0.6947 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4605, allocations: 0 / 0.6947 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4605, allocations: 0 / 0.6947 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005716/0.4611, allocations: 0 / 0.6947 GB, free: 9.121 MB / 0.5294 GB 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.05158/0.5127, allocations: 19.01 MB / 0.7132 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5127, allocations: 12.03 kB / 0.7133 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00477/0.5175, allocations: 2.01 MB / 0.7152 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0565/0.574, allocations: 11.48 MB / 0.7264 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4239/0.9979, allocations: 8.889 MB / 0.7351 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/0.9993, allocations: 1.059 MB / 0.7361 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00431/1.004, allocations: 1.373 MB / 0.7375 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/1.044, allocations: 23.62 MB / 0.7606 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/1.044, allocations: 22.02 kB / 0.7606 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/1.046, allocations: 0.5718 MB / 0.7611 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003992/1.046, allocations: 0.7017 MB / 0.7618 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03086/1.077, allocations: 21.74 MB / 0.783 GB, free: 100 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.083/1.16, allocations: 72.04 MB / 0.8534 GB, free: 27.29 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.177, allocations: 28.08 MB / 0.8808 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.184, allocations: 4.508 MB / 0.8852 GB, free: 7.992 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02543/1.209, allocations: 16.55 MB / 0.9014 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/1.21, allocations: 86.05 kB / 0.9015 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.342e-06/1.21, allocations: 0 / 0.9015 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03639/1.246, allocations: 15.68 MB / 0.9168 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/1.246, allocations: 128.6 kB / 0.9169 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009135/1.255, allocations: 5.113 MB / 0.9219 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007939/1.256, allocations: 101.7 kB / 0.922 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004248/1.26, allocations: 6.101 MB / 0.928 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.262, allocations: 1.662 MB / 0.9296 GB, free: 10.81 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003674/1.266, allocations: 1.555 MB / 0.9311 GB, free: 9.25 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.266, allocations: 305.1 kB / 0.9314 GB, free: 8.949 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006791/1.273, allocations: 4.152 MB / 0.9354 GB, free: 4.793 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009092/1.282, allocations: 7.275 MB / 0.9425 GB, free: 12.07 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.298, allocations: 11.96 MB / 0.9542 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.833e-05/1.298, allocations: 35.94 kB / 0.9543 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02273/1.321, allocations: 13.08 MB / 0.967 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/1.321, allocations: 48 kB / 0.9671 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/1.321, allocations: 104.9 kB / 0.9672 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/1.328, allocations: 3.106 MB / 0.9702 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005409/1.333, allocations: 1.595 MB / 0.9718 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007325/1.334, allocations: 335 kB / 0.9721 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/1.339, allocations: 1.071 MB / 0.9731 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008708/1.34, allocations: 392 kB / 0.9735 GB, free: 10.85 MB / 0.67 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.008213/1.348, allocations: 5.386 MB / 0.9788 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.349, allocations: 0.5239 MB / 0.9793 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.366, allocations: 9.545 MB / 0.9886 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.366, allocations: 47.94 kB / 0.9886 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.366, allocations: 3.984 kB / 0.9886 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.827e-05/1.366, allocations: 23.92 kB / 0.9887 GB, free: 11.27 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2528/1.618, allocations: 20.74 MB / 1.009 GB, free: 235.4 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.618, allocations: 0 / 1.009 GB, free: 235.4 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.621, allocations: 0.7464 MB / 1.01 GB, free: 235.4 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/1.626, allocations: 2.965 MB / 1.013 GB, free: 234.6 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/1.626, allocations: 102.8 kB / 1.013 GB, free: 234.5 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005427/1.627, allocations: 145.2 kB / 1.013 GB, free: 234.5 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.627, allocations: 0 / 1.013 GB, free: 234.5 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.641, allocations: 14.2 MB / 1.027 GB, free: 229.2 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.644, allocations: 1.391 MB / 1.028 GB, free: 228.8 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005595/1.644, allocations: 83.72 kB / 1.028 GB, free: 228.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.646, allocations: 359.8 kB / 1.028 GB, free: 228.7 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005763/1.647, allocations: 318.7 kB / 1.029 GB, free: 228.6 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.647, allocations: 139 kB / 1.029 GB, free: 228.6 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.003566/1.651, allocations: 3.422 MB / 1.032 GB, free: 227.4 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.1e-07/1.651, allocations: 3.438 kB / 1.032 GB, free: 227.4 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.005854/1.657, allocations: 3.236 MB / 1.035 GB, free: 226.9 MB / 0.6857 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.01531/1.672, allocations: 14.91 MB / 1.05 GB, free: 217.3 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.684, allocations: 9.522 MB / 1.059 GB, free: 209.3 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.684, allocations: 0 / 1.059 GB, free: 209.3 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.005798/1.69, allocations: 4.107 MB / 1.063 GB, free: 205.9 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/1.695, allocations: 1.271 MB / 1.064 GB, free: 204.9 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08319/1.778, allocations: 77.92 MB / 1.141 GB, free: 123.5 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00646/1.784, allocations: 9.014 MB / 1.149 GB, free: 114.4 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.004994/1.789, allocations: 2.869 MB / 1.152 GB, free: 111.6 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00417/1.794, allocations: 4.693 MB / 1.157 GB, free: 106.9 MB / 0.6857 GB Notification: Performance of SimCode: time 1.253e-06/1.794, allocations: 0 / 1.157 GB, free: 106.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/2.207, allocations: 177.8 MB / 1.33 GB, free: 181.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.85/23.06, allocations: 2.547 kB / 1.33 GB, free: 181.6 MB / 0.6857 GB " [Timeout remaining time 637] (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.00019976 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.719691774007515]