Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0008401/0.0008401, 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.0009195/0.0009195, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9149/0.9149, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.737/0.737, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.522e-05, allocations: 6.641 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007572/0.007587, allocations: 9.477 MB / 0.6273 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.01168, allocations: 2.994 MB / 0.6302 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.01208, allocations: 43.69 kB / 0.6303 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.0131, allocations: 0.699 MB / 0.631 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000962/0.01406, allocations: 0.7343 MB / 0.6317 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.01494, allocations: 0.647 MB / 0.6323 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.01668, allocations: 2.78 MB / 0.635 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.01797, allocations: 1.371 MB / 0.6364 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.01919, allocations: 1.583 MB / 0.6379 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.02025, allocations: 1.364 MB / 0.6392 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.02045, allocations: 220 kB / 0.6395 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.02096, allocations: 471.2 kB / 0.6399 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.02153, allocations: 1.048 MB / 0.6409 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004981/0.02203, allocations: 0.7134 MB / 0.6416 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.02413, allocations: 3.495 MB / 0.645 GB, free: 2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.02413, allocations: 0 / 0.645 GB, free: 2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.02414, allocations: 0 / 0.645 GB, free: 2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.02416, allocations: 0 / 0.645 GB, free: 2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002068/0.02622, allocations: 1.893 MB / 0.6469 GB, free: 68 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.02627, allocations: 13.47 kB / 0.6469 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.02649, allocations: 252.7 kB / 0.6471 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/0.02931, allocations: 0.9088 MB / 0.648 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.03059, allocations: 1.127 MB / 0.6491 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.03065, allocations: 115.3 kB / 0.6492 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.03091, allocations: 136.4 kB / 0.6494 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.03388, allocations: 3.089 MB / 0.6524 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.03391, allocations: 12.11 kB / 0.6524 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.03404, allocations: 60.11 kB / 0.6525 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.03418, allocations: 178.9 kB / 0.6526 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.03696, allocations: 2.608 MB / 0.6552 GB, free: 7.422 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008381/0.04534, allocations: 9.322 MB / 0.6643 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.04665, allocations: 1.225 MB / 0.6655 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00092/0.04757, allocations: 0.981 MB / 0.6664 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.04762, allocations: 8.656 kB / 0.6664 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.04765, allocations: 39.22 kB / 0.6665 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.04765, allocations: 0 / 0.6665 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139): time 0.3088/0.3564, allocations: 18.88 MB / 0.6849 GB, free: 95.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3565, allocations: 76.38 kB / 0.685 GB, free: 95.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.3572, allocations: 0.9308 MB / 0.6859 GB, free: 94.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.3573, allocations: 51.23 kB / 0.6859 GB, free: 94.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3575, allocations: 0.7492 MB / 0.6867 GB, free: 94.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.3577, allocations: 0.4938 MB / 0.6872 GB, free: 94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.358, allocations: 287.4 kB / 0.6874 GB, free: 93.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.3581, allocations: 356.2 kB / 0.6878 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3592, allocations: 1.338 MB / 0.6891 GB, free: 93.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.3603, allocations: 1.653 MB / 0.6907 GB, free: 92.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.3626, allocations: 3.09 MB / 0.6937 GB, free: 90.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3626, allocations: 2.969 kB / 0.6937 GB, free: 90.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005999/0.3686, allocations: 5.563 MB / 0.6991 GB, free: 89.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3686, allocations: 13.34 kB / 0.6992 GB, free: 89.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3686, allocations: 7.875 kB / 0.6992 GB, free: 89.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.373, allocations: 2.71 MB / 0.7018 GB, free: 88.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.3734, allocations: 193.2 kB / 0.702 GB, free: 88.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.3956, allocations: 24.99 MB / 0.7264 GB, free: 75.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.3964, allocations: 98.09 kB / 0.7265 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.3965, allocations: 55.77 kB / 0.7265 GB, free: 75.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008978/0.3974, allocations: 0.7395 MB / 0.7273 GB, free: 75.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3976, allocations: 121.1 kB / 0.7274 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007281/0.4048, allocations: 5.309 MB / 0.7326 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4048, allocations: 13.28 kB / 0.7326 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.4049, allocations: 27 kB / 0.7326 GB, free: 73.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4049, allocations: 7.922 kB / 0.7326 GB, free: 73.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.4157, allocations: 8.264 MB / 0.7407 GB, free: 70.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4157, allocations: 3.375 kB / 0.7407 GB, free: 70.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.416, allocations: 119.3 kB / 0.7408 GB, free: 70.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004559/0.4205, allocations: 2.586 MB / 0.7433 GB, free: 69.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.4206, allocations: 25.62 kB / 0.7434 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.4369, allocations: 23.42 MB / 0.7662 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4369, allocations: 11.92 kB / 0.7662 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/0.4424, allocations: 5.182 MB / 0.7713 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.4429, allocations: 423.1 kB / 0.7717 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.443, allocations: 24 kB / 0.7717 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.4434, allocations: 84 kB / 0.7718 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.4438, allocations: 128.9 kB / 0.7719 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4438, allocations: 36 kB / 0.772 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004502/0.4443, allocations: 0.6434 MB / 0.7726 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4443, allocations: 0 / 0.7726 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001715/0.446, allocations: 0.7188 MB / 0.7733 GB, free: 40.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005566/0.4515, allocations: 5.757 MB / 0.7789 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003822/0.4554, allocations: 4.074 MB / 0.7829 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4554, allocations: 0 / 0.7829 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.4577, allocations: 2.605 MB / 0.7854 GB, free: 28.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.4585, allocations: 220.2 kB / 0.7856 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.4777, allocations: 21.38 MB / 0.8065 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.4785, allocations: 1.111 MB / 0.8076 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004405/0.479, allocations: 324 kB / 0.8079 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.4794, allocations: 0.5316 MB / 0.8084 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of SimCode: time 1.994e-06/0.4794, allocations: 4 kB / 0.8084 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/0.5458, allocations: 56.05 MB / 0.8632 GB, free: 12.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.589, allocations: 10.27 kB / 0.8632 GB, free: 12.6 MB / 0.698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.418296984396875] Failed to read output from testmodel.py, exit status != 0: 8.690526780672371 8.702206673 8.676197537 Calling exit ...