Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001534/0.001534, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00164/0.00164, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.445/1.445, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1061, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.2145/0.3205, allocations: 5.102 MB / 431.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.3235, allocations: 1.856 MB / 433.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3237, allocations: 14.56 kB / 433.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.3259, allocations: 1.182 MB / 434.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.3271, allocations: 0.6249 MB / 435.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3282, allocations: 0.6121 MB / 436.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008128/0.329, allocations: 0.7582 MB / 436.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.3297, allocations: 440.5 kB / 437.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.3301, allocations: 335.5 kB / 437.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.3305, allocations: 417.1 kB / 438 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.3306, allocations: 64 kB / 438 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.3311, allocations: 258.6 kB / 438.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.3312, allocations: 165.8 kB / 438.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.3314, allocations: 384.9 kB / 438.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3326, allocations: 1.02 MB / 439.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3326, allocations: 1.125 kB / 439.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3326, allocations: 0 / 439.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3326, allocations: 3.938 kB / 439.9 MB, free: 5.863 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003613/0.3362, allocations: 1.4 MB / 441.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3363, allocations: 10.34 kB / 441.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.3364, allocations: 127.7 kB / 441.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.3421, allocations: 0.7901 MB / 442.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.3429, allocations: 411.6 kB / 442.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.343, allocations: 57.97 kB / 442.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.3431, allocations: 82.94 kB / 442.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.3446, allocations: 0.774 MB / 443.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.3446, allocations: 7.266 kB / 443.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.3447, allocations: 35.98 kB / 443.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.3447, allocations: 20.41 kB / 443.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.3462, allocations: 0.9043 MB / 444.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.3501, allocations: 2.768 MB / 447.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.3521, allocations: 2.117 MB / 449.4 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.3526, allocations: 298.5 kB / 449.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.3528, allocations: 184.4 kB / 449.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3528, allocations: 43.27 kB / 449.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.465e-06/0.3528, allocations: 0 / 449.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00364/0.3565, allocations: 1.337 MB / 451.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3565, allocations: 63.25 kB / 451.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.3569, allocations: 293.9 kB / 451.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.357, allocations: 41.38 kB / 451.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3572, allocations: 293.6 kB / 451.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.3574, allocations: 261.4 kB / 452.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.3576, allocations: 127.3 kB / 452.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3578, allocations: 354.6 kB / 452.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.3583, allocations: 239.1 kB / 452.8 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.3589, allocations: 355.4 kB / 453.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.36, allocations: 0.6325 MB / 453.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.36, allocations: 1.344 kB / 453.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001799/0.3618, allocations: 0.8666 MB / 454.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3618, allocations: 6.875 kB / 454.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3618, allocations: 3.375 kB / 454.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/0.3626, allocations: 207.4 kB / 454.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3631, allocations: 132.3 kB / 455 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.3668, allocations: 2.717 MB / 457.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.3672, allocations: 76.86 kB / 457.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.3673, allocations: 26.75 kB / 457.8 MB, free: 10.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.3676, allocations: 197.2 kB / 458 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3677, allocations: 48.55 kB / 458.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.3696, allocations: 0.8907 MB / 459 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3696, allocations: 14.88 kB / 459 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3697, allocations: 5.594 kB / 459 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3697, allocations: 2.906 kB / 459 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.3726, allocations: 1.706 MB / 460.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3726, allocations: 0.7969 kB / 460.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.3731, allocations: 112.2 kB / 460.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/0.3738, allocations: 204.9 kB / 461 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.3739, allocations: 21.27 kB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.3775, allocations: 2.701 MB / 463.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3775, allocations: 1.156 kB / 463.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.38, allocations: 1.254 MB / 465 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3802, allocations: 127.9 kB / 465.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.3802, allocations: 15.41 kB / 465.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3806, allocations: 36.67 kB / 465.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.3807, allocations: 50.7 kB / 465.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.3808, allocations: 27.11 kB / 465.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.381, allocations: 203.4 kB / 465.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.381, allocations: 0 / 465.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008828/0.3819, allocations: 238.3 kB / 465.7 MB, free: 5.809 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (63): * Single equations (assignments): 62 * 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): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002773/0.3847, allocations: 1.849 MB / 467.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3864, allocations: 0.813 MB / 468.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3864, allocations: 5.156 kB / 468.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.3873, allocations: 0.5069 MB / 468.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3878, allocations: 60.77 kB / 468.9 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.3955, allocations: 5.082 MB / 474 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.3961, allocations: 0.8903 MB / 474.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.3964, allocations: 74.78 kB / 475 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.3967, allocations: 224.6 kB / 475.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3967, allocations: 1.375 kB / 475.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/0.4407, allocations: 12.55 MB / 487.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.2, allocations: 8.438 kB / 487.7 MB, free: 3.027 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.715416838880628] Failed to read output from testmodel.py, exit status != 0: 11.29083137307316 11.312901872 10.976164176 Calling exit ...