Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0009/0.0009, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0016/0.0016, allocations: 206.5 kB / 22.24 MB, free: 3.578 MB / 13.93 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.9963/0.9963, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.7847/0.7847, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008902/0.0008902, allocations: 70.7 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5072, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004824/0.512, allocations: 4.665 MB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.5154, allocations: 2.447 MB / 0.8247 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.5157, allocations: 36.19 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.5166, allocations: 404.5 kB / 0.8252 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009979/0.5176, allocations: 466.4 kB / 0.8256 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008162/0.5184, allocations: 408.1 kB / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.5193, allocations: 0.9228 MB / 0.8269 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.5197, allocations: 317.3 kB / 0.8272 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.5202, allocations: 357.5 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.5207, allocations: 348.1 kB / 0.8279 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.5207, allocations: 38.03 kB / 0.8279 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.5214, allocations: 363.7 kB / 0.8282 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.5215, allocations: 183.7 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.5218, allocations: 271.1 kB / 0.8287 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.5228, allocations: 0.8949 MB / 0.8296 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5228, allocations: 0 / 0.8296 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5228, allocations: 0 / 0.8296 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5228, allocations: 1.062 kB / 0.8296 GB, free: 10.17 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001582/0.5244, allocations: 0.8958 MB / 0.8304 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.5244, allocations: 9.828 kB / 0.8304 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.5245, allocations: 89.56 kB / 0.8305 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.5255, allocations: 211.2 kB / 0.8307 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.5262, allocations: 490.3 kB / 0.8312 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5262, allocations: 42.64 kB / 0.8312 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.5263, allocations: 50.06 kB / 0.8313 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.5272, allocations: 0.9771 MB / 0.8322 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5273, allocations: 8.141 kB / 0.8322 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.5273, allocations: 19.94 kB / 0.8323 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/0.5274, allocations: 66.09 kB / 0.8323 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.5281, allocations: 0.5654 MB / 0.8329 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5312, allocations: 4.736 MB / 0.8375 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.5317, allocations: 417.8 kB / 0.8379 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.532, allocations: 201.4 kB / 0.8381 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.532, allocations: 4.344 kB / 0.8381 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.532, allocations: 41 kB / 0.8381 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.236e-06/0.532, allocations: 0 / 0.8381 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00175/0.5338, allocations: 1.141 MB / 0.8392 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5338, allocations: 55.69 kB / 0.8393 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.5343, allocations: 0.512 MB / 0.8398 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5343, allocations: 30.8 kB / 0.8398 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.5347, allocations: 374.7 kB / 0.8402 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.5348, allocations: 123 kB / 0.8403 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.5349, allocations: 111.6 kB / 0.8404 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.535, allocations: 362.3 kB / 0.8408 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.5353, allocations: 195.7 kB / 0.8409 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.5356, allocations: 451.1 kB / 0.8414 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.5362, allocations: 0.6925 MB / 0.8421 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5362, allocations: 10.38 kB / 0.8421 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008526/0.537, allocations: 0.8081 MB / 0.8429 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5371, allocations: 9 kB / 0.8429 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5371, allocations: 10.22 kB / 0.8429 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.5374, allocations: 154.4 kB / 0.843 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.5376, allocations: 126.5 kB / 0.8431 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.5397, allocations: 4.024 MB / 0.8471 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.54, allocations: 32.47 kB / 0.8471 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.54, allocations: 28.47 kB / 0.8471 GB, free: 12.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.5403, allocations: 219.4 kB / 0.8473 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.5403, allocations: 66.11 kB / 0.8474 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.541, allocations: 0.5942 MB / 0.848 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.541, allocations: 3.281 kB / 0.848 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.541, allocations: 2.312 kB / 0.848 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.541, allocations: 3.984 kB / 0.848 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5421, allocations: 1.185 MB / 0.8491 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5421, allocations: 5.453 kB / 0.8491 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.5423, allocations: 58.95 kB / 0.8492 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.5427, allocations: 144.8 kB / 0.8493 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.5427, allocations: 17.44 kB / 0.8494 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5445, allocations: 4.008 MB / 0.8533 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5445, allocations: 1.969 kB / 0.8533 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.5452, allocations: 0.7136 MB / 0.854 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5453, allocations: 100.5 kB / 0.8541 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.5453, allocations: 8.125 kB / 0.8541 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5455, allocations: 27.19 kB / 0.8541 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.5455, allocations: 40.19 kB / 0.8541 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5455, allocations: 6.875 kB / 0.8541 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002724/0.5458, allocations: 340.3 kB / 0.8545 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5458, allocations: 0 / 0.8545 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005105/0.5463, allocations: 142 kB / 0.8546 GB, free: 6.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.5472, allocations: 1.257 MB / 0.8558 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009341/0.5481, allocations: 0.8672 MB / 0.8567 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5481, allocations: 1.781 kB / 0.8567 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.5486, allocations: 0.5679 MB / 0.8572 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.5492, allocations: 212.9 kB / 0.8574 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.5542, allocations: 5.156 MB / 0.8625 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5545, allocations: 312.7 kB / 0.8628 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.5548, allocations: 115.4 kB / 0.8629 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.555, allocations: 194.2 kB / 0.8631 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.555, allocations: 0 / 0.8631 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.5913, allocations: 14.3 MB / 0.877 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.656, allocations: 4 kB / 0.877 GB, free: 7.164 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.627199442125857] Failed to read output from testmodel.py, exit status != 0: 7.7417325070127845 7.751826365 7.227138867 Calling exit ...