Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00109/0.00109, 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.0009254/0.0009254, allocations: 213.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.9046/0.9046, allocations: 230.6 MB / 256 MB, free: 9.605 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.7614/0.7614, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0009002/0.0009002, allocations: 67.17 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4679, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02734/0.4953, allocations: 31.69 MB / 0.8487 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.5125, allocations: 14.47 MB / 0.8629 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.5163, allocations: 206.7 kB / 0.8631 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006144/0.5224, allocations: 3.668 MB / 0.8667 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008121/0.5306, allocations: 2.981 MB / 0.8696 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.5358, allocations: 2.328 MB / 0.8718 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.547, allocations: 8.82 MB / 0.8805 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007073/0.5541, allocations: 5.49 MB / 0.8858 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006857/0.5609, allocations: 4.094 MB / 0.8898 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00673/0.5676, allocations: 4.002 MB / 0.8937 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.5696, allocations: 0.7148 MB / 0.8944 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.573, allocations: 1.619 MB / 0.896 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.5759, allocations: 2.899 MB / 0.8988 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004511/0.5804, allocations: 2.755 MB / 0.9015 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.5913, allocations: 11.28 MB / 0.9125 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5913, allocations: 0 / 0.9125 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5913, allocations: 4 kB / 0.9125 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003597/0.5916, allocations: 0 / 0.9125 GB, free: 4.375 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01146/0.6031, allocations: 6.052 MB / 0.9184 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6032, allocations: 8.031 kB / 0.9185 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009165/0.6041, allocations: 0.7387 MB / 0.9192 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.6082, allocations: 1.168 MB / 0.9203 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.6135, allocations: 3.462 MB / 0.9237 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.6137, allocations: 383.1 kB / 0.9241 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.6149, allocations: 491.9 kB / 0.9245 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.6292, allocations: 8.862 MB / 0.9332 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.6293, allocations: 23.83 kB / 0.9332 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005017/0.6298, allocations: 219.9 kB / 0.9334 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/0.631, allocations: 433.6 kB / 0.9338 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.6412, allocations: 6.077 MB / 0.9398 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/0.6695, allocations: 22.05 MB / 0.9613 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.6716, allocations: 1.909 MB / 0.9632 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.6732, allocations: 1.74 MB / 0.9649 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/0.6733, allocations: 21.98 kB / 0.9649 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.6733, allocations: 56.56 kB / 0.9649 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 3.287e-06/0.6733, allocations: 4 kB / 0.9649 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.07865/0.752, allocations: 38.71 MB / 1.003 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.752, allocations: 81.58 kB / 1.003 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.7552, allocations: 2.321 MB / 1.005 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003982/0.7555, allocations: 69.7 kB / 1.005 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.7566, allocations: 2.338 MB / 1.007 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/0.7573, allocations: 0.9799 MB / 1.008 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006391/0.758, allocations: 0.5025 MB / 1.009 GB, free: 396 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.7581, allocations: 305.1 kB / 1.009 GB, free: 88 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.76, allocations: 1.973 MB / 1.011 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.7625, allocations: 2.606 MB / 1.014 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004707/0.7672, allocations: 4.929 MB / 1.018 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.7672, allocations: 12 kB / 1.018 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009877/0.7771, allocations: 7.654 MB / 1.026 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.7771, allocations: 12 kB / 1.026 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7771, allocations: 16 kB / 1.026 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/0.7825, allocations: 3.208 MB / 1.029 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7836, allocations: 403.2 kB / 1.029 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/0.8142, allocations: 32.75 MB / 1.061 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.8167, allocations: 159.8 kB / 1.062 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.8169, allocations: 108 kB / 1.062 GB, free: 8.965 MB / 0.8386 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002709/0.8196, allocations: 1.789 MB / 1.063 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.8202, allocations: 345.9 kB / 1.064 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/0.8292, allocations: 7.247 MB / 1.071 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.8293, allocations: 24 kB / 1.071 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/0.8293, allocations: 32 kB / 1.071 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.8293, allocations: 11.95 kB / 1.071 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.8442, allocations: 12.15 MB / 1.083 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8443, allocations: 7.984 kB / 1.083 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.8448, allocations: 231.6 kB / 1.083 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004377/0.8491, allocations: 2.852 MB / 1.086 GB, free: 16 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.8493, allocations: 56.2 kB / 1.086 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/0.8768, allocations: 31.54 MB / 1.117 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8768, allocations: 11.94 kB / 1.117 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/0.8847, allocations: 6.783 MB / 1.123 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.8862, allocations: 0.7242 MB / 1.124 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.8865, allocations: 52 kB / 1.124 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8876, allocations: 171.8 kB / 1.124 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/0.8883, allocations: 273 kB / 1.125 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.8884, allocations: 76 kB / 1.125 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001587/0.89, allocations: 1.518 MB / 1.126 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.89, allocations: 0 / 1.126 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003116/0.8931, allocations: 1.371 MB / 1.127 GB, free: 4.523 MB / 0.9011 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007785/0.9009, allocations: 7.416 MB / 1.135 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00741/0.9083, allocations: 6.567 MB / 1.141 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9083, allocations: 0 / 1.141 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004653/0.913, allocations: 4.257 MB / 1.145 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.9159, allocations: 1.117 MB / 1.146 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.383/1.299, allocations: 39.04 MB / 1.184 GB, free: 271.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003812/1.303, allocations: 3.121 MB / 1.187 GB, free: 270.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001571/1.304, allocations: 0.555 MB / 1.188 GB, free: 270.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.306, allocations: 1.968 MB / 1.19 GB, free: 268.7 MB / 0.9167 GB Notification: Performance of SimCode: time 2.114e-06/1.306, allocations: 3.125 kB / 1.19 GB, free: 268.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.418, allocations: 119 MB / 1.306 GB, free: 161 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.765/11.18, allocations: 15.92 kB / 1.306 GB, free: 161 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.188347989693284] Failed to read output from testmodel.py, exit status != 0: 11.307671680115163 11.314484201 10.72164491 Calling exit ...