Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0009193/0.0009193, allocations: 78.66 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] 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.0009395/0.0009395, allocations: 171 kB / 24.82 MB, free: 8.875 MB / 18.57 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2956/0.2956, allocations: 29.41 MB / 291.2 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.556e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.003757/0.003772, allocations: 4.2 MB / 374.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.005447, allocations: 1.445 MB / 375.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.005603, allocations: 15.88 kB / 375.8 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.00603, allocations: 163 kB / 375.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.006333, allocations: 234.6 kB / 376.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.006746, allocations: 267.1 kB / 376.4 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.007118, allocations: 0.5689 MB / 377 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.007386, allocations: 254.7 kB / 377.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.007776, allocations: 391 kB / 377.6 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.008034, allocations: 267.3 kB / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.008078, allocations: 36 kB / 377.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.008281, allocations: 155.7 kB / 378.1 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.008432, allocations: 239.4 kB / 378.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.008558, allocations: 171.6 kB / 378.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.008918, allocations: 462.5 kB / 378.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.008919, allocations: 3.938 kB / 378.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00892, allocations: 0 / 378.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.008924, allocations: 0 / 378.9 MB, free: 1.867 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007086/0.009633, allocations: 0.7976 MB / 379.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.009666, allocations: 11.98 kB / 379.7 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.01008, allocations: 152.5 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.01038, allocations: 337.7 kB / 380.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.0104, allocations: 37.38 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.01048, allocations: 48.73 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.0109, allocations: 494.4 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01091, allocations: 7.938 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.01094, allocations: 19.98 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.011, allocations: 32.98 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.01124, allocations: 190.6 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01302, allocations: 3.429 MB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.01315, allocations: 126 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.01321, allocations: 58.44 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.01323, allocations: 4 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.01325, allocations: 45.33 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.512e-06/0.01326, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006019/0.01386, allocations: 450.4 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.0139, allocations: 81.11 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.01412, allocations: 394.3 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.01414, allocations: 29.7 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.0143, allocations: 358.6 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.01435, allocations: 87.28 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.01443, allocations: 95.72 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01459, allocations: 0.5273 MB / 386.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.01464, allocations: 40.91 kB / 386.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.01483, allocations: 331.2 kB / 387 MB, free: 9.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.01512, allocations: 436.7 kB / 387.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01512, allocations: 4 kB / 387.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004779/0.0156, allocations: 393 kB / 387.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01561, allocations: 8 kB / 387.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.01579, allocations: 142.3 kB / 388 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.01599, allocations: 75.59 kB / 388.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01616, allocations: 91.83 kB / 388.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.01723, allocations: 1.827 MB / 390 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01736, allocations: 16 kB / 390 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.01738, allocations: 16 kB / 390 MB, free: 5.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.01752, allocations: 184.4 kB / 390.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.01756, allocations: 47.75 kB / 390.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.0178, allocations: 180.6 kB / 390.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.0178, allocations: 8.031 kB / 390.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.0178, allocations: 0 / 390.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01781, allocations: 3.984 kB / 390.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.01838, allocations: 0.551 MB / 391 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01838, allocations: 0 / 391 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01852, allocations: 51.97 kB / 391 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01852, allocations: 7.938 kB / 391 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01854, allocations: 11.94 kB / 391 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01854, allocations: 4.062 kB / 391.1 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01854, allocations: 3.938 kB / 391.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.01882, allocations: 395 kB / 391.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.01885, allocations: 35.7 kB / 391.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01887, allocations: 8 kB / 391.5 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.01894, allocations: 0 / 391.5 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.01897, allocations: 19.97 kB / 391.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01898, allocations: 4 kB / 391.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.01909, allocations: 235 kB / 391.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01909, allocations: 3.938 kB / 391.7 MB, free: 4.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.01937, allocations: 100 kB / 391.8 MB, free: 4.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.862e-05/0.01946, allocations: 107.2 kB / 391.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.01983, allocations: 381.3 kB / 392.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01983, allocations: 0 / 392.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.0199, allocations: 75.56 kB / 392.4 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.02021, allocations: 65.22 kB / 392.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.02147, allocations: 0.8454 MB / 393.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.965e-05/0.02156, allocations: 141.2 kB / 393.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.02166, allocations: 51.25 kB / 393.5 MB, free: 2.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.02179, allocations: 130.2 kB / 393.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02179, allocations: 0 / 393.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of Templates: time 0.005772/0.02756, allocations: 3.815 MB / 397.4 MB, free: 14.37 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9927766700275242]