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.001652/0.001652, allocations: 116.8 kB / 17.17 MB, free: 6 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.72/1.72, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001847/0.001847, allocations: 204.3 kB / 306.7 MB, free: 4.293 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.0413/0.0413, allocations: 8.909 MB / 371.7 MB, free: 3.422 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.002705/0.002705, allocations: 79.89 kB / 496.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4393, allocations: 55.56 MB / 0.5391 GB, free: 26.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01827/0.4575, allocations: 19.02 MB / 0.5576 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.4738, allocations: 5.109 MB / 0.5626 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006811/0.4806, allocations: 182.5 kB / 0.5628 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01836/0.499, allocations: 8.279 MB / 0.5709 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.5107, allocations: 2.154 MB / 0.573 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007037/0.5177, allocations: 1.602 MB / 0.5746 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02084/0.5386, allocations: 10.82 MB / 0.5851 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04894/0.5875, allocations: 19.7 MB / 0.6044 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.6039, allocations: 6.168 MB / 0.6104 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01723/0.6211, allocations: 6.853 MB / 0.6171 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009045/0.6301, allocations: 1.621 MB / 0.6187 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.6409, allocations: 1.929 MB / 0.6205 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007342/0.6483, allocations: 3.308 MB / 0.6238 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01585/0.6641, allocations: 6.393 MB / 0.63 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03359/0.6977, allocations: 21.99 MB / 0.6515 GB, free: 10.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.6977, allocations: 0 / 0.6515 GB, free: 10.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6977, allocations: 0 / 0.6515 GB, free: 10.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008189/0.6986, allocations: 3.938 kB / 0.6515 GB, free: 10.5 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: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.05236/0.7509, allocations: 14.01 MB / 0.6652 GB, free: 12.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.751, allocations: 8.031 kB / 0.6652 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004708/0.7514, allocations: 298.6 kB / 0.6655 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007649/0.7591, allocations: 1.57 MB / 0.667 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0466/0.8057, allocations: 7.785 MB / 0.6746 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/0.827, allocations: 6.792 MB / 0.6812 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/0.8283, allocations: 0.8147 MB / 0.682 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008363/0.8367, allocations: 1.07 MB / 0.6831 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7454/1.582, allocations: 17.8 MB / 0.7005 GB, free: 97.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007283/1.583, allocations: 10.23 kB / 0.7005 GB, free: 97.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005454/1.588, allocations: 455.6 kB / 0.7009 GB, free: 97.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000655/1.589, allocations: 0.5776 MB / 0.7015 GB, free: 97.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04929/1.638, allocations: 16.25 MB / 0.7173 GB, free: 91.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.766, allocations: 53.36 MB / 0.7694 GB, free: 56.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/1.782, allocations: 15.3 MB / 0.7844 GB, free: 39.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006301/1.789, allocations: 3.405 MB / 0.7877 GB, free: 35.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/1.79, allocations: 317.3 kB / 0.788 GB, free: 35.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/1.79, allocations: 86.95 kB / 0.7881 GB, free: 35.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 8.105e-06/1.79, allocations: 0 / 0.7881 GB, free: 35.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02221/1.812, allocations: 10.63 MB / 0.7985 GB, free: 24.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.812, allocations: 133.4 kB / 0.7986 GB, free: 24.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/1.817, allocations: 3.506 MB / 0.802 GB, free: 21.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.818, allocations: 105.7 kB / 0.8021 GB, free: 20.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002965/1.821, allocations: 4.493 MB / 0.8065 GB, free: 17.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003131/1.824, allocations: 1.751 MB / 0.8082 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002797/1.827, allocations: 1.33 MB / 0.8095 GB, free: 13.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.827, allocations: 305.1 kB / 0.8098 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/1.832, allocations: 3.28 MB / 0.813 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006476/1.838, allocations: 5.611 MB / 0.8185 GB, free: 3.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/1.853, allocations: 9.547 MB / 0.8278 GB, free: 9.09 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.853, allocations: 27.94 kB / 0.8279 GB, free: 9.062 MB / 0.4982 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02595/1.879, allocations: 10.28 MB / 0.8379 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.879, allocations: 38.5 kB / 0.8379 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/1.879, allocations: 79.94 kB / 0.838 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/1.883, allocations: 1.087 MB / 0.8391 GB, free: 13.51 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006807/1.89, allocations: 1.525 MB / 0.8406 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/1.909, allocations: 13.64 MB / 0.8539 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007018/1.916, allocations: 0.8617 MB / 0.8547 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.918, allocations: 328 kB / 0.855 GB, free: 12.62 MB / 0.5294 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.01119/1.929, allocations: 4.114 MB / 0.859 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.931, allocations: 413.3 kB / 0.8594 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.947, allocations: 7.821 MB / 0.8671 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01404/1.961, allocations: 6.492 MB / 0.8734 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.487e-05/1.962, allocations: 12 kB / 0.8734 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001278/1.962, allocations: 27.84 kB / 0.8735 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04685/2.008, allocations: 17.54 MB / 0.8906 GB, free: 7.762 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/2.009, allocations: 12 kB / 0.8906 GB, free: 7.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004495/2.013, allocations: 0.9595 MB / 0.8915 GB, free: 6.789 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/2.016, allocations: 0.9865 MB / 0.8925 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/2.018, allocations: 132 kB / 0.8926 GB, free: 5.664 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/2.036, allocations: 13.31 MB / 0.9056 GB, free: 7.801 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/2.036, allocations: 19.94 kB / 0.9056 GB, free: 7.781 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4479/2.484, allocations: 12.13 MB / 0.9175 GB, free: 178.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/2.488, allocations: 1.141 MB / 0.9186 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.49, allocations: 115 kB / 0.9187 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004192/2.494, allocations: 312 kB / 0.919 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/2.495, allocations: 402 kB / 0.9194 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/2.495, allocations: 170.8 kB / 0.9196 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004261/2.5, allocations: 2.362 MB / 0.9219 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.9e-07/2.5, allocations: 6 kB / 0.9219 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01111/2.511, allocations: 2.679 MB / 0.9245 GB, free: 177.4 MB / 0.5763 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.02313/2.534, allocations: 12.89 MB / 0.9371 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02196/2.556, allocations: 8.294 MB / 0.9452 GB, free: 168 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.507e-05/2.556, allocations: 2.719 kB / 0.9452 GB, free: 168 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01176/2.568, allocations: 3.982 MB / 0.9491 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008561/2.576, allocations: 0.9525 MB / 0.95 GB, free: 166 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1144/2.69, allocations: 59.58 MB / 1.008 GB, free: 121.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01397/2.704, allocations: 7.007 MB / 1.015 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006747/2.711, allocations: 2.542 MB / 1.018 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007403/2.719, allocations: 3.67 MB / 1.021 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of SimCode: time 2.124e-06/2.719, allocations: 0 / 1.021 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6703/3.389, allocations: 134 MB / 1.152 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.02/25.41, allocations: 10.84 kB / 1.152 GB, free: 173.6 MB / 0.5919 GB " [Timeout remaining time 634] (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: 28.86097251297906] Failed to read output from testmodel.py, exit status != 0: 25.61219533404801 25.628278546 24.926506057 Calling exit ...