Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001237/0.001237, allocations: 117 kB / 18.49 MB, free: 4.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.001403/0.001403, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.573/1.573, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 59.91 kB / 373.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.109, allocations: 53.38 MB / 427.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003986/0.113, allocations: 2.738 MB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1143, allocations: 0.7129 MB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1144, allocations: 4 kB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1146, allocations: 47.52 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1147, allocations: 75.27 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.115, allocations: 111.8 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.1155, allocations: 366.5 kB / 431.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1156, allocations: 68.72 kB / 431.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1159, allocations: 143.5 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1161, allocations: 167.3 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.1162, allocations: 32 kB / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.1162, allocations: 36 kB / 431.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1163, allocations: 63.81 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1973/0.3136, allocations: 145.2 kB / 431.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.3142, allocations: 353.4 kB / 432.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3142, allocations: 1.156 kB / 432.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3142, allocations: 0 / 432.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3142, allocations: 0 / 432.1 MB, free: 7.891 MB / 350.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.001572/0.3158, allocations: 0.6517 MB / 432.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3159, allocations: 9.406 kB / 432.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.769e-05/0.3159, allocations: 9.266 kB / 432.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.3159, allocations: 57.08 kB / 432.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.3161, allocations: 37.31 kB / 432.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3165, allocations: 263.8 kB / 433.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3166, allocations: 18.42 kB / 433.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.3166, allocations: 17.59 kB / 433.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.3173, allocations: 306.1 kB / 433.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3173, allocations: 0.5312 kB / 433.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3173, allocations: 6.219 kB / 433.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3173, allocations: 4.75 kB / 433.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.318, allocations: 272 kB / 433.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.3196, allocations: 1.071 MB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.3215, allocations: 424.3 kB / 435.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3219, allocations: 135.3 kB / 435.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3219, allocations: 5.844 kB / 435.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.322, allocations: 32.38 kB / 435.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.322, allocations: 0 / 435.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005133/0.3271, allocations: 1.022 MB / 436.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.3271, allocations: 57.81 kB / 436.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3274, allocations: 219.3 kB / 436.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.3274, allocations: 33.23 kB / 436.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.3275, allocations: 160.9 kB / 436.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3276, allocations: 47.66 kB / 436.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.3277, allocations: 42.89 kB / 437 MB, free: 5.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.3277, allocations: 329.7 kB / 437.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3281, allocations: 107.8 kB / 437.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.3284, allocations: 121.2 kB / 437.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.3291, allocations: 236.9 kB / 437.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3292, allocations: 3.938 kB / 437.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002923/0.3321, allocations: 0.6273 MB / 438.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3321, allocations: 5.25 kB / 438.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3321, allocations: 4 kB / 438.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/0.3329, allocations: 217.4 kB / 438.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3331, allocations: 32.78 kB / 438.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.3396, allocations: 2.739 MB / 441.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.3399, allocations: 42.02 kB / 441.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.3399, allocations: 6.266 kB / 441.4 MB, free: 3.922 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.0001454/0.3401, allocations: 137.3 kB / 441.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.3401, allocations: 18.27 kB / 441.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.3402, allocations: 23.75 kB / 441.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3402, allocations: 1.969 kB / 441.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3402, allocations: 4.562 kB / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3402, allocations: 1.5 kB / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.3406, allocations: 341.2 kB / 441.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3406, allocations: 0 / 441.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3408, allocations: 28.33 kB / 442 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006866/0.3414, allocations: 226 kB / 442.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3415, allocations: 9.094 kB / 442.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006505/0.348, allocations: 2.734 MB / 444.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.348, allocations: 0.6562 kB / 444.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.3512, allocations: 0.8397 MB / 445.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3513, allocations: 104.9 kB / 445.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3514, allocations: 1.438 kB / 445.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.3516, allocations: 36.5 kB / 445.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3517, allocations: 10.58 kB / 445.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.3517, allocations: 5.984 kB / 445.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3519, allocations: 162.1 kB / 446.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3519, allocations: 0 / 446.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.3524, allocations: 79.02 kB / 446.1 MB, free: 1.242 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.003435/0.3559, allocations: 1.388 MB / 447.5 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.3575, allocations: 450.7 kB / 448 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3575, allocations: 0 / 448 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3586, allocations: 321.4 kB / 448.3 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.359, allocations: 42.3 kB / 448.3 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009526/0.3686, allocations: 3.352 MB / 451.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.369, allocations: 0.7446 MB / 452.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3691, allocations: 14.34 kB / 452.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3692, allocations: 70.62 kB / 452.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3692, allocations: 3.281 kB / 452.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.4016, allocations: 7.422 MB / 459.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.45, allocations: 21.8 kB / 460 MB, free: 10.62 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection_fmu --startTime=0 --stopTime=0.4 --stepSize=7.9968e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.986628693004604] Failed to read output from testmodel.py, exit status != 0: ['time', 'CL.v'] 12.607102637004573 12.622366126 12.305075785 Calling exit ...