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.001131/0.001131, allocations: 92.33 kB / 20.96 MB, free: 3.477 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.001337/0.001337, allocations: 161.3 kB / 24.26 MB, free: 176 kB / 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 0.9079/0.9079, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.2282/0.2282, allocations: 29.42 MB / 290.5 MB, free: 2.469 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.903e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004336/0.004355, allocations: 4.471 MB / 372.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.006475, allocations: 1.418 MB / 374.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.006749, allocations: 19.81 kB / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.007585, allocations: 378.4 kB / 374.7 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.008091, allocations: 238.5 kB / 374.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.008748, allocations: 271.1 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.009284, allocations: 0.5766 MB / 375.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.009668, allocations: 242.8 kB / 376 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.01023, allocations: 354.9 kB / 376.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.01069, allocations: 295.2 kB / 376.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.01075, allocations: 36 kB / 376.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.01113, allocations: 151.7 kB / 376.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.01135, allocations: 243.3 kB / 377 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.01153, allocations: 171.6 kB / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.01222, allocations: 0.6113 MB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01223, allocations: 0 / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01223, allocations: 3.938 kB / 377.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.01224, allocations: 0 / 377.8 MB, free: 2.352 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.001132/0.01338, allocations: 0.7018 MB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.01342, allocations: 11.98 kB / 378.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.01349, allocations: 86.7 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000638/0.01413, allocations: 184.4 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.01465, allocations: 363.9 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01468, allocations: 29.38 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.01479, allocations: 56.67 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.01551, allocations: 0.645 MB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.01554, allocations: 7.938 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.01557, allocations: 16 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.131e-05/0.01566, allocations: 32.98 kB / 379.9 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.01623, allocations: 487.4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.01874, allocations: 2.846 MB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.01902, allocations: 177 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.01914, allocations: 100.8 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.01918, allocations: 8 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.01922, allocations: 38.48 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.417e-06/0.01922, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001161/0.02038, allocations: 0.7856 MB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.02043, allocations: 81.23 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.02069, allocations: 361.4 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.02071, allocations: 33.7 kB / 384.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.02086, allocations: 295.9 kB / 385.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.02092, allocations: 91.25 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.02101, allocations: 86.14 kB / 385.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.02112, allocations: 346.8 kB / 385.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.02127, allocations: 128.9 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.02153, allocations: 327.5 kB / 386.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.02198, allocations: 0.4925 MB / 386.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.02198, allocations: 7.938 kB / 386.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007753/0.02276, allocations: 0.5746 MB / 387.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.02278, allocations: 8 kB / 387.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003461/0.02313, allocations: 273.2 kB / 387.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.02343, allocations: 96.77 kB / 387.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.02363, allocations: 99.75 kB / 387.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.02485, allocations: 1.612 MB / 389.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.02501, allocations: 28.05 kB / 389.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.02503, allocations: 20 kB / 389.3 MB, free: 6.184 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.0001803/0.02521, allocations: 221.5 kB / 389.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.02525, allocations: 39.77 kB / 389.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.02559, allocations: 288.6 kB / 389.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02559, allocations: 4 kB / 389.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02559, allocations: 0 / 389.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0256, allocations: 0 / 389.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.02637, allocations: 0.7488 MB / 390.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02638, allocations: 4 kB / 390.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.02653, allocations: 55.97 kB / 390.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02654, allocations: 0 / 390.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.02655, allocations: 8 kB / 390.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.02656, allocations: 4 kB / 390.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02656, allocations: 3.938 kB / 390.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.02694, allocations: 485.7 kB / 391.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.02697, allocations: 31.77 kB / 391.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.027, allocations: 12.03 kB / 391.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.02708, allocations: 8 kB / 391.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.02711, allocations: 19.91 kB / 391.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.02712, allocations: 8 kB / 391.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.02727, allocations: 243.1 kB / 391.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02727, allocations: 0 / 391.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.0276, allocations: 92 kB / 391.5 MB, free: 3.844 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 0.000578/0.02818, allocations: 1.02 MB / 392.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.02869, allocations: 440.2 kB / 393 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.02869, allocations: 0 / 393 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.02881, allocations: 112.3 kB / 393.1 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.02913, allocations: 75.23 kB / 393.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.03262, allocations: 3.944 MB / 397.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.03281, allocations: 261.7 kB / 397.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.03299, allocations: 115.2 kB / 397.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.03313, allocations: 152.4 kB / 397.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03314, allocations: 0 / 397.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.05779, allocations: 8.355 MB / 406 MB, free: 5.168 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.227, allocations: 7.156 kB / 406 MB, free: 5.164 MB / 378.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.098128264769912]