Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0007477/0.0007477, allocations: 101.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.0009302/0.0009302, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9373/0.9373, allocations: 230.6 MB / 256 MB, free: 9.59 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.7959/0.7959, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001016/0.001016, allocations: 65.02 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4926, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01977/0.5124, allocations: 22.24 MB / 0.8395 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.522, allocations: 6.444 MB / 0.8458 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.5241, allocations: 125.3 kB / 0.8459 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.5271, allocations: 1.523 MB / 0.8474 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.5316, allocations: 1.937 MB / 0.8493 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.535, allocations: 1.461 MB / 0.8507 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006861/0.5418, allocations: 6.909 MB / 0.8575 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.547, allocations: 3.722 MB / 0.8611 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.5516, allocations: 2.935 MB / 0.864 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/0.5569, allocations: 3.558 MB / 0.8675 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001612/0.5585, allocations: 0.5307 MB / 0.868 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.5614, allocations: 1.114 MB / 0.8691 GB, free: 300 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003061/0.5644, allocations: 2.535 MB / 0.8715 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004287/0.5687, allocations: 2.05 MB / 0.8736 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009677/0.5784, allocations: 8.588 MB / 0.8819 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5784, allocations: 4 kB / 0.8819 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5784, allocations: 0 / 0.8819 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003042/0.5787, allocations: 3.938 kB / 0.8819 GB, free: 3.797 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009104/0.5878, allocations: 4.472 MB / 0.8863 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.5879, allocations: 8.031 kB / 0.8863 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.5889, allocations: 0.5753 MB / 0.8869 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/0.5941, allocations: 1.699 MB / 0.8885 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.5987, allocations: 2.672 MB / 0.8912 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5988, allocations: 275.7 kB / 0.8914 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/0.5995, allocations: 364.2 kB / 0.8918 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.6095, allocations: 7.712 MB / 0.8993 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/0.6096, allocations: 19.88 kB / 0.8993 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.6099, allocations: 155.9 kB / 0.8995 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003864/0.6103, allocations: 487.3 kB / 0.8999 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007383/0.6177, allocations: 5.697 MB / 0.9055 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.6409, allocations: 20.55 MB / 0.9256 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.643, allocations: 2.019 MB / 0.9275 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.645, allocations: 2.104 MB / 0.9296 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.6451, allocations: 13.31 kB / 0.9296 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6451, allocations: 47.88 kB / 0.9296 GB, free: 2.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=146): time 4.087e-06/0.6451, allocations: 0 / 0.9296 GB, free: 2.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=251): time 0.1588/0.8039, allocations: 76.72 MB / 1.005 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.804, allocations: 81.34 kB / 1.005 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.806, allocations: 1.701 MB / 1.006 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004584/0.8064, allocations: 65.7 kB / 1.006 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.8073, allocations: 1.803 MB / 1.008 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007583/0.808, allocations: 0.8868 MB / 1.009 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006848/0.8087, allocations: 493.3 kB / 1.009 GB, free: 56 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.8088, allocations: 305.1 kB / 1.01 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.8117, allocations: 2.726 MB / 1.012 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.8146, allocations: 3.336 MB / 1.016 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005889/0.8205, allocations: 6.397 MB / 1.022 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.8205, allocations: 4 kB / 1.022 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02011/0.8407, allocations: 14.41 MB / 1.036 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.8407, allocations: 12 kB / 1.036 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.8407, allocations: 19.94 kB / 1.036 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/0.8581, allocations: 9.201 MB / 1.045 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.859, allocations: 295.5 kB / 1.045 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05249/0.9115, allocations: 51.03 MB / 1.095 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.9133, allocations: 223.7 kB / 1.095 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.9135, allocations: 99.98 kB / 1.095 GB, free: 6.711 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002183/0.9157, allocations: 1.582 MB / 1.097 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.9161, allocations: 262.5 kB / 1.097 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/0.9359, allocations: 14.47 MB / 1.111 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.936, allocations: 24 kB / 1.111 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001423/0.9361, allocations: 44 kB / 1.111 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-05/0.9361, allocations: 15.95 kB / 1.111 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/0.963, allocations: 19.52 MB / 1.131 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.963, allocations: 8 kB / 1.131 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.9635, allocations: 167.7 kB / 1.131 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/0.9799, allocations: 8.972 MB / 1.139 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003619/0.9803, allocations: 48 kB / 1.139 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4224/1.403, allocations: 50.59 MB / 1.189 GB, free: 271 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.403, allocations: 12.98 kB / 1.189 GB, free: 271 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.421, allocations: 14.1 MB / 1.203 GB, free: 265.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.423, allocations: 0.7758 MB / 1.203 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.423, allocations: 51.58 kB / 1.203 GB, free: 265.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.424, allocations: 208.5 kB / 1.204 GB, free: 265.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.425, allocations: 256 kB / 1.204 GB, free: 264.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.426, allocations: 63.31 kB / 1.204 GB, free: 264.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009239/1.426, allocations: 1.127 MB / 1.205 GB, free: 264.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.426, allocations: 2.5 kB / 1.205 GB, free: 264.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003922/1.43, allocations: 1.611 MB / 1.207 GB, free: 264.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01696/1.447, allocations: 14.71 MB / 1.221 GB, free: 251.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.46, allocations: 10.19 MB / 1.231 GB, free: 241.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.46, allocations: 4 kB / 1.231 GB, free: 241.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00954/1.469, allocations: 7.012 MB / 1.238 GB, free: 234.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.471, allocations: 0.5543 MB / 1.238 GB, free: 233.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05667/1.528, allocations: 50.51 MB / 1.288 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/1.53, allocations: 2.685 MB / 1.29 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007721/1.531, allocations: 387.3 kB / 1.291 GB, free: 179 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/1.532, allocations: 1.468 MB / 1.292 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.934e-06/1.532, allocations: 0 / 1.292 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.649, allocations: 129.3 MB / 1.418 GB, free: 48.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.909/10.56, allocations: 8.062 kB / 1.418 GB, free: 48.8 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.651291086804122] Failed to read output from testmodel.py, exit status != 0: 10.6767587820068 10.687590318 10.106707675000001 Calling exit ...