Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.001428/0.001428, allocations: 105 kB / 19.74 MB, free: 2.453 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.001551/0.001551, allocations: 210.6 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.285/1.285, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001824/0.001824, allocations: 75.78 kB / 376.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2147, allocations: 53.32 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00355/0.2182, allocations: 2.743 MB / 432.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2193, allocations: 0.7206 MB / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.2194, allocations: 4 kB / 432.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2195, allocations: 47.52 kB / 432.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.2197, allocations: 75.27 kB / 433 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.2199, allocations: 115.8 kB / 433.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.2203, allocations: 354.6 kB / 433.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2204, allocations: 68.7 kB / 433.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2207, allocations: 143.5 kB / 433.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2209, allocations: 163.3 kB / 433.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.2209, allocations: 32 kB / 433.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.221, allocations: 36 kB / 433.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.2211, allocations: 67.8 kB / 434 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2212, allocations: 155.2 kB / 434.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.2216, allocations: 351 kB / 434.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2216, allocations: 4 kB / 434.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2216, allocations: 0 / 434.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2216, allocations: 0 / 434.5 MB, free: 2.387 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001346/0.2229, allocations: 0.6429 MB / 435.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2229, allocations: 8.031 kB / 435.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.223, allocations: 62.72 kB / 435.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.2232, allocations: 36.75 kB / 435.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.2235, allocations: 264.9 kB / 435.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2235, allocations: 16.81 kB / 435.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2236, allocations: 20.38 kB / 435.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.2242, allocations: 302.7 kB / 435.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2242, allocations: 4 kB / 435.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.2242, allocations: 11.98 kB / 435.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2242, allocations: 8 kB / 435.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.225, allocations: 265.5 kB / 436.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.2266, allocations: 1.066 MB / 437.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.2284, allocations: 434.2 kB / 437.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.2287, allocations: 132.8 kB / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.2287, allocations: 4 kB / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2288, allocations: 34.56 kB / 437.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.2288, allocations: 4 kB / 437.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004657/0.2334, allocations: 1.026 MB / 438.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2335, allocations: 51.41 kB / 438.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2337, allocations: 217 kB / 439 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2337, allocations: 29.7 kB / 439.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2338, allocations: 168.2 kB / 439.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.2338, allocations: 43.64 kB / 439.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.2339, allocations: 41.66 kB / 439.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2341, allocations: 330.8 kB / 439.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.2344, allocations: 103.9 kB / 439.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.2347, allocations: 128.4 kB / 439.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.2354, allocations: 233.5 kB / 440.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2354, allocations: 7.875 kB / 440.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002718/0.2381, allocations: 0.6338 MB / 440.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2381, allocations: 4 kB / 440.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2381, allocations: 0 / 440.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/0.2388, allocations: 216.7 kB / 440.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.239, allocations: 39.97 kB / 441 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006649/0.2457, allocations: 2.747 MB / 443.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.2459, allocations: 39.86 kB / 443.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2459, allocations: 4 kB / 443.8 MB, free: 8.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.2461, allocations: 141.7 kB / 443.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.2462, allocations: 19.91 kB / 443.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.2462, allocations: 25.83 kB / 443.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2462, allocations: 0 / 443.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2462, allocations: 0 / 443.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2462, allocations: 0 / 443.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.2466, allocations: 333.3 kB / 444.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2466, allocations: 0 / 444.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2468, allocations: 31.97 kB / 444.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/0.2474, allocations: 220.7 kB / 444.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2474, allocations: 4 kB / 444.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/0.2538, allocations: 2.74 MB / 447.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2538, allocations: 3.938 kB / 447.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.2569, allocations: 0.8426 MB / 448.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.2569, allocations: 101 kB / 448.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.257, allocations: 4 kB / 448.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.2572, allocations: 32.06 kB / 448.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.2573, allocations: 15.97 kB / 448.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2573, allocations: 7.984 kB / 448.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.2575, allocations: 160.4 kB / 448.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2575, allocations: 4 kB / 448.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.2579, allocations: 79.89 kB / 448.5 MB, free: 3.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00339/0.2613, allocations: 1.384 MB / 449.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2628, allocations: 430.5 kB / 450.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2628, allocations: 0 / 450.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2638, allocations: 334.5 kB / 450.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2641, allocations: 35.17 kB / 450.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.2722, allocations: 3.359 MB / 454 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2725, allocations: 0.7437 MB / 454.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.2726, allocations: 17.55 kB / 454.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.2727, allocations: 67.41 kB / 454.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2727, allocations: 0 / 454.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.3062, allocations: 7.381 MB / 462.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.67, allocations: 4.484 kB / 462.2 MB, free: 5.879 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection_fmu --startTime=0 --stopTime=0.4 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.76723626999592]