Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 14.47 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 213.8 kB / 310 MB, free: 2.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04221/0.04221, allocations: 8.914 MB / 375.4 MB, free: 6.594 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 75.89 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08857, allocations: 55.62 MB / 0.5442 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01997/0.1085, allocations: 16.26 MB / 0.5601 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2258/0.3344, allocations: 4.926 MB / 0.5649 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.3388, allocations: 185.3 kB / 0.5651 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01711/0.356, allocations: 7.666 MB / 0.5726 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009022/0.365, allocations: 2.199 MB / 0.5747 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005171/0.3702, allocations: 1.573 MB / 0.5762 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01609/0.3862, allocations: 10.91 MB / 0.5869 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03347/0.4197, allocations: 16.42 MB / 0.6029 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/0.4332, allocations: 6.203 MB / 0.609 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01432/0.4476, allocations: 6.861 MB / 0.6157 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004882/0.4524, allocations: 1.625 MB / 0.6173 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007384/0.4598, allocations: 1.925 MB / 0.6191 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006012/0.4658, allocations: 3.311 MB / 0.6224 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.4777, allocations: 4.993 MB / 0.6273 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03058/0.5083, allocations: 22.09 MB / 0.6488 GB, free: 1.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5083, allocations: 4 kB / 0.6488 GB, free: 1.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5083, allocations: 0 / 0.6488 GB, free: 1.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005628/0.5088, allocations: 0 / 0.6488 GB, free: 1.562 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.03973/0.5486, allocations: 13.93 MB / 0.6624 GB, free: 3.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5486, allocations: 15.98 kB / 0.6625 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003466/0.5489, allocations: 294.6 kB / 0.6627 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004809/0.5538, allocations: 1.569 MB / 0.6643 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04343/0.5972, allocations: 7.781 MB / 0.6719 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/0.6126, allocations: 6.911 MB / 0.6786 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008663/0.6134, allocations: 0.8086 MB / 0.6794 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004485/0.6179, allocations: 1.062 MB / 0.6804 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04302/0.6609, allocations: 18.03 MB / 0.6981 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003745/0.6613, allocations: 15.89 kB / 0.6981 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002903/0.6642, allocations: 450.2 kB / 0.6985 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007036/0.6649, allocations: 0.5735 MB / 0.6991 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0383/0.7032, allocations: 16.26 MB / 0.7149 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09553/0.7988, allocations: 47.86 MB / 0.7617 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.8136, allocations: 7.588 MB / 0.7691 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006326/0.82, allocations: 3.397 MB / 0.7724 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.8205, allocations: 136.2 kB / 0.7725 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.097e-05/0.8206, allocations: 86.95 kB / 0.7726 GB, free: 2.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=492): time 8.225e-06/0.8206, allocations: 0 / 0.7726 GB, free: 2.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=492): time 0.4142/1.235, allocations: 10.33 MB / 0.7827 GB, free: 162.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.235, allocations: 128.3 kB / 0.7828 GB, free: 162.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/1.241, allocations: 3.506 MB / 0.7862 GB, free: 161.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007157/1.242, allocations: 102.6 kB / 0.7863 GB, free: 161.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002665/1.244, allocations: 4.49 MB / 0.7907 GB, free: 159.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.246, allocations: 1.756 MB / 0.7924 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/1.248, allocations: 1.323 MB / 0.7937 GB, free: 157.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/1.248, allocations: 307 kB / 0.794 GB, free: 157.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/1.253, allocations: 3.279 MB / 0.7972 GB, free: 156.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0059/1.259, allocations: 5.624 MB / 0.8027 GB, free: 152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.269, allocations: 9.537 MB / 0.812 GB, free: 146 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/1.269, allocations: 23.78 kB / 0.8121 GB, free: 146 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01679/1.286, allocations: 10.28 MB / 0.8221 GB, free: 142.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.286, allocations: 34.91 kB / 0.8221 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.286, allocations: 76.59 kB / 0.8222 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/1.289, allocations: 1.084 MB / 0.8233 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/1.294, allocations: 1.531 MB / 0.8248 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.306, allocations: 13.07 MB / 0.8375 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/1.311, allocations: 0.8642 MB / 0.8384 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.313, allocations: 329.9 kB / 0.8387 GB, free: 130.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006464/1.319, allocations: 4.113 MB / 0.8427 GB, free: 126.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.32, allocations: 417.3 kB / 0.8431 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.333, allocations: 7.821 MB / 0.8507 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00848/1.341, allocations: 6.5 MB / 0.8571 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/1.341, allocations: 8 kB / 0.8571 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/1.341, allocations: 27.91 kB / 0.8571 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0284/1.37, allocations: 16.98 MB / 0.8737 GB, free: 94.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.37, allocations: 12 kB / 0.8737 GB, free: 94.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/1.373, allocations: 0.9634 MB / 0.8746 GB, free: 93.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/1.376, allocations: 0.983 MB / 0.8756 GB, free: 92.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006207/1.376, allocations: 132 kB / 0.8757 GB, free: 92.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.387, allocations: 12.74 MB / 0.8882 GB, free: 79.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.387, allocations: 23.88 kB / 0.8882 GB, free: 79.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.401, allocations: 12.13 MB / 0.9 GB, free: 66.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.404, allocations: 1.109 MB / 0.9011 GB, free: 65.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/1.404, allocations: 112 kB / 0.9012 GB, free: 65.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.407, allocations: 311.6 kB / 0.9015 GB, free: 65.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006549/1.408, allocations: 429.9 kB / 0.9019 GB, free: 64.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/1.408, allocations: 176 kB / 0.9021 GB, free: 64.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002646/1.411, allocations: 2.36 MB / 0.9044 GB, free: 62.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/1.411, allocations: 0 / 0.9044 GB, free: 62.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006309/1.417, allocations: 2.686 MB / 0.907 GB, free: 59.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01459/1.431, allocations: 12.89 MB / 0.9196 GB, free: 46.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.443, allocations: 8.287 MB / 0.9277 GB, free: 37.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/1.443, allocations: 4 kB / 0.9277 GB, free: 37.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005561/1.449, allocations: 3.984 MB / 0.9316 GB, free: 33.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/1.454, allocations: 0.9496 MB / 0.9325 GB, free: 32.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08943/1.543, allocations: 59.76 MB / 0.9909 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2378/1.781, allocations: 6.567 MB / 0.9973 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007447/1.789, allocations: 2.539 MB / 0.9998 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005547/1.794, allocations: 3.674 MB / 1.003 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.213e-06/1.794, allocations: 0 / 1.003 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/1.982, allocations: 139.4 MB / 1.14 GB, free: 70.24 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.23/23.21, allocations: 3.938 kB / 1.14 GB, free: 70.23 MB / 0.5763 GB " [Timeout remaining time 637] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_EquivalentCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.353184005012736] Failed to read output from testmodel.py, exit status != 0: 23.440407576039433 23.461060331 22.948446922 Calling exit ...