Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0007813/0.0007813, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008041/0.0008041, allocations: 170.3 kB / 22.46 MB, free: 2.102 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 0.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7054/0.7054, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.402e-05, allocations: 4.953 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01536/0.01539, allocations: 15.15 MB / 0.6328 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006169/0.02156, allocations: 4.738 MB / 0.6375 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.02249, allocations: 83.38 kB / 0.6375 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.02418, allocations: 1.057 MB / 0.6386 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.02599, allocations: 0.8079 MB / 0.6394 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.02751, allocations: 0.9193 MB / 0.6403 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.03025, allocations: 3.676 MB / 0.6438 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/0.03287, allocations: 2.446 MB / 0.6462 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.03527, allocations: 2.269 MB / 0.6484 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.03688, allocations: 1.683 MB / 0.6501 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.03724, allocations: 344 kB / 0.6504 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.03824, allocations: 0.7604 MB / 0.6512 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009436/0.03918, allocations: 1.419 MB / 0.6525 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.0404, allocations: 1.017 MB / 0.6535 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.04387, allocations: 5.24 MB / 0.6587 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.04387, allocations: 0 / 0.6587 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.492e-06/0.04387, allocations: 3.938 kB / 0.6587 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.371e-05/0.04395, allocations: 0 / 0.6587 GB, free: 3.926 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003886/0.04783, allocations: 2.611 MB / 0.6612 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.04788, allocations: 9.469 kB / 0.6612 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003896/0.04827, allocations: 374.5 kB / 0.6616 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.05043, allocations: 0.8459 MB / 0.6624 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.05236, allocations: 1.538 MB / 0.6639 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.05245, allocations: 185.1 kB / 0.6641 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.05273, allocations: 232.3 kB / 0.6643 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.05782, allocations: 4.262 MB / 0.6685 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.05786, allocations: 4.141 kB / 0.6685 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.05804, allocations: 108.1 kB / 0.6686 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.05818, allocations: 176.5 kB / 0.6687 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.06236, allocations: 3.617 MB / 0.6723 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2962/0.3585, allocations: 11.03 MB / 0.683 GB, free: 88.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3604, allocations: 1.458 MB / 0.6845 GB, free: 88.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.3609, allocations: 0.5405 MB / 0.685 GB, free: 88.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.361, allocations: 19.86 kB / 0.685 GB, free: 88.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.361, allocations: 41.56 kB / 0.6851 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.361, allocations: 0 / 0.6851 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.003425/0.3644, allocations: 3.208 MB / 0.6882 GB, free: 86.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3645, allocations: 116.5 kB / 0.6883 GB, free: 86.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.3653, allocations: 1.054 MB / 0.6893 GB, free: 86.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3654, allocations: 37.45 kB / 0.6894 GB, free: 86.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.3657, allocations: 1.139 MB / 0.6905 GB, free: 85.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3658, allocations: 284.1 kB / 0.6907 GB, free: 85.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.3661, allocations: 273.5 kB / 0.691 GB, free: 85.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3662, allocations: 421.9 kB / 0.6914 GB, free: 84.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.3668, allocations: 0.6134 MB / 0.692 GB, free: 84.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.3676, allocations: 1.185 MB / 0.6932 GB, free: 83.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.369, allocations: 1.872 MB / 0.695 GB, free: 82.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.369, allocations: 7.125 kB / 0.695 GB, free: 82.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001971/0.3709, allocations: 2.016 MB / 0.697 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.371, allocations: 14.31 kB / 0.697 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.371, allocations: 17.03 kB / 0.697 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.3713, allocations: 168.3 kB / 0.6972 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.372, allocations: 347.6 kB / 0.6975 GB, free: 81.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/0.372, allocations: 40.27 kB / 0.6975 GB, free: 81.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.3727, allocations: 122.7 kB / 0.6976 GB, free: 81.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.3727, allocations: 74.7 kB / 0.6977 GB, free: 81.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001028/0.3738, allocations: 0.9774 MB / 0.6987 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3739, allocations: 110.9 kB / 0.6988 GB, free: 81.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3751, allocations: 1.235 MB / 0.7 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3752, allocations: 8.875 kB / 0.7 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.3752, allocations: 0 / 0.7 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3752, allocations: 6.5 kB / 0.7 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.3788, allocations: 3.441 MB / 0.7034 GB, free: 79.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3788, allocations: 2.625 kB / 0.7034 GB, free: 79.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3792, allocations: 159.3 kB / 0.7035 GB, free: 79.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.3794, allocations: 148.4 kB / 0.7037 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3794, allocations: 22.41 kB / 0.7037 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3794, allocations: 6.688 kB / 0.7037 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3794, allocations: 2.875 kB / 0.7037 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3805, allocations: 1.461 MB / 0.7051 GB, free: 78.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3808, allocations: 199.9 kB / 0.7053 GB, free: 78.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.3808, allocations: 25.67 kB / 0.7053 GB, free: 78.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.3812, allocations: 67.31 kB / 0.7054 GB, free: 78.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3812, allocations: 69.16 kB / 0.7055 GB, free: 78.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3813, allocations: 23.05 kB / 0.7055 GB, free: 78.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005398/0.3818, allocations: 0.6942 MB / 0.7062 GB, free: 77.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3818, allocations: 0 / 0.7062 GB, free: 77.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001133/0.3829, allocations: 389.1 kB / 0.7065 GB, free: 77.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.3842, allocations: 2.035 MB / 0.7085 GB, free: 76.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.386, allocations: 1.353 MB / 0.7098 GB, free: 76.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.386, allocations: 0.625 kB / 0.7098 GB, free: 76.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.3866, allocations: 0.5343 MB / 0.7104 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.3875, allocations: 276 kB / 0.7106 GB, free: 75.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.4001, allocations: 12.89 MB / 0.7232 GB, free: 69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4013, allocations: 1.339 MB / 0.7245 GB, free: 68.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007851/0.4021, allocations: 450 kB / 0.725 GB, free: 68.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.4026, allocations: 0.711 MB / 0.7256 GB, free: 67.97 MB / 0.6355 GB Notification: Performance of SimCode: time 1.302e-06/0.4026, allocations: 0.5625 kB / 0.7256 GB, free: 67.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05306/0.4557, allocations: 29.23 MB / 0.7542 GB, free: 57.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.183, allocations: 7.344 kB / 0.7542 GB, free: 57.76 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.997175015509129] Failed to read output from testmodel.py, exit status != 0: 8.281674920581281 8.29137963 8.245431128 Calling exit ...