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.0007816/0.0007816, allocations: 109.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.0008154/0.0008154, allocations: 214.2 kB / 22.25 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.9559/0.9559, allocations: 230.6 MB / 256 MB, free: 9.621 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.7908/0.7908, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.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: 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.000904/0.000904, allocations: 68.67 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5122, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01349/0.5257, allocations: 15.47 MB / 0.8329 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006076/0.5318, allocations: 4.787 MB / 0.8376 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.5324, allocations: 85.22 kB / 0.8377 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.534, allocations: 1.054 MB / 0.8387 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.5352, allocations: 0.7772 MB / 0.8394 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.5367, allocations: 0.9209 MB / 0.8403 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003136/0.5398, allocations: 3.624 MB / 0.8439 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.5424, allocations: 2.43 MB / 0.8463 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.5447, allocations: 1.642 MB / 0.8479 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.5467, allocations: 1.775 MB / 0.8496 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.5472, allocations: 339.1 kB / 0.8499 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5484, allocations: 0.7515 MB / 0.8507 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.5494, allocations: 1.358 MB / 0.852 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.5508, allocations: 1.172 MB / 0.8531 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.5547, allocations: 5.174 MB / 0.8582 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5547, allocations: 5.312 kB / 0.8582 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5547, allocations: 0 / 0.8582 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001011/0.5548, allocations: 3.938 kB / 0.8582 GB, free: 7.527 MB / 0.6355 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.005192/0.56, allocations: 2.642 MB / 0.8608 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.5601, allocations: 10.31 kB / 0.8608 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004848/0.5605, allocations: 374.2 kB / 0.8611 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.5633, allocations: 0.8448 MB / 0.862 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.5656, allocations: 1.529 MB / 0.8634 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.5657, allocations: 177 kB / 0.8636 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/0.566, allocations: 238 kB / 0.8638 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005452/0.5715, allocations: 4.264 MB / 0.868 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-05/0.5715, allocations: 10.16 kB / 0.868 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.5717, allocations: 98.61 kB / 0.8681 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/0.5719, allocations: 165.8 kB / 0.8683 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.5762, allocations: 3.633 MB / 0.8718 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00997/0.5862, allocations: 11.03 MB / 0.8826 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.5881, allocations: 1.466 MB / 0.884 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.5886, allocations: 0.5431 MB / 0.8846 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.5887, allocations: 20.58 kB / 0.8846 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5887, allocations: 39.22 kB / 0.8846 GB, free: 476 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.5887, allocations: 0 / 0.8846 GB, free: 476 kB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.003244/0.592, allocations: 3.217 MB / 0.8877 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.592, allocations: 111.5 kB / 0.8879 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/0.5929, allocations: 1.049 MB / 0.8889 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.5929, allocations: 41.77 kB / 0.8889 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.5934, allocations: 1.142 MB / 0.89 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.5935, allocations: 285.6 kB / 0.8903 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.5938, allocations: 283.4 kB / 0.8906 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.5939, allocations: 414.6 kB / 0.891 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.5946, allocations: 0.6206 MB / 0.8916 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.5955, allocations: 1.185 MB / 0.8927 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.5969, allocations: 1.864 MB / 0.8946 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5969, allocations: 4 kB / 0.8946 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001948/0.5988, allocations: 2.031 MB / 0.8965 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.5989, allocations: 12 kB / 0.8966 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.5989, allocations: 20 kB / 0.8966 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.5992, allocations: 159.3 kB / 0.8967 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.5998, allocations: 339.4 kB / 0.8971 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.5998, allocations: 39.86 kB / 0.8971 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.6003, allocations: 131.9 kB / 0.8972 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.6004, allocations: 68 kB / 0.8973 GB, free: 2.812 MB / 0.6667 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.001094/0.6015, allocations: 0.9732 MB / 0.8982 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.6016, allocations: 119.2 kB / 0.8983 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.6028, allocations: 1.233 MB / 0.8995 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6028, allocations: 8 kB / 0.8996 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.6028, allocations: 12 kB / 0.8996 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6028, allocations: 3.984 kB / 0.8996 GB, free: 444 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.6063, allocations: 3.439 MB / 0.9029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6063, allocations: 4 kB / 0.9029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.6066, allocations: 160 kB / 0.9031 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.6068, allocations: 139.3 kB / 0.9032 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.6069, allocations: 12 kB / 0.9032 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.6069, allocations: 15.88 kB / 0.9032 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6069, allocations: 7.938 kB / 0.9033 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.6082, allocations: 1.474 MB / 0.9047 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.6085, allocations: 199.2 kB / 0.9049 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.6085, allocations: 19.98 kB / 0.9049 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.6088, allocations: 63.91 kB / 0.905 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.6089, allocations: 60.48 kB / 0.905 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.609, allocations: 24 kB / 0.905 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005705/0.6095, allocations: 0.6953 MB / 0.9057 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.6095, allocations: 0 / 0.9057 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008909/0.6104, allocations: 388 kB / 0.9061 GB, free: 9.578 MB / 0.6823 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.001492/0.6119, allocations: 2.037 MB / 0.9081 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6133, allocations: 1.363 MB / 0.9094 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6133, allocations: 0 / 0.9094 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.6138, allocations: 0.5355 MB / 0.9099 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009273/0.6148, allocations: 273.6 kB / 0.9102 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6265, allocations: 12.91 MB / 0.9228 GB, free: 7.652 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.6276, allocations: 1.333 MB / 0.9241 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008188/0.6284, allocations: 453.4 kB / 0.9245 GB, free: 5.836 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.629, allocations: 0.7141 MB / 0.9252 GB, free: 5.121 MB / 0.698 GB Notification: Performance of SimCode: time 1.724e-06/0.629, allocations: 0 / 0.9252 GB, free: 5.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.6663, allocations: 29.17 MB / 0.9537 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.791, allocations: 14.89 kB / 0.9537 GB, free: 8.332 MB / 0.7292 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.831436858978122] Failed to read output from testmodel.py, exit status != 0: 7.8826285297982395 7.890968348 7.334231338 Calling exit ...