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.001116/0.001116, 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.001056/0.001056, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9306/0.9306, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.74/0.74, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.974e-06/1.974e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.367e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008267/0.008291, allocations: 9.48 MB / 0.6273 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.01197, allocations: 2.99 MB / 0.6302 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.01249, allocations: 47.69 kB / 0.6303 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.01381, allocations: 0.7031 MB / 0.631 GB, free: 468 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.01476, allocations: 0.7382 MB / 0.6317 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.01559, allocations: 0.647 MB / 0.6323 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.01785, allocations: 2.78 MB / 0.635 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.01908, allocations: 1.364 MB / 0.6364 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.0203, allocations: 1.586 MB / 0.6379 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.02138, allocations: 1.36 MB / 0.6392 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.02156, allocations: 216 kB / 0.6395 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.02204, allocations: 471.2 kB / 0.6399 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.02291, allocations: 1.048 MB / 0.6409 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.02341, allocations: 0.7173 MB / 0.6416 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.02535, allocations: 3.491 MB / 0.645 GB, free: 1.969 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.02535, allocations: 4 kB / 0.645 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.163e-06/0.02535, allocations: 3.938 kB / 0.645 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.02537, allocations: 0 / 0.645 GB, free: 1.961 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.002028/0.0274, allocations: 1.889 MB / 0.6469 GB, free: 32 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.02744, allocations: 9.469 kB / 0.6469 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005013/0.02794, allocations: 252.7 kB / 0.6471 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.03075, allocations: 0.9127 MB / 0.648 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.03198, allocations: 1.131 MB / 0.6491 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-05/0.03204, allocations: 111.3 kB / 0.6492 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.03223, allocations: 144.4 kB / 0.6494 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.0351, allocations: 3.085 MB / 0.6524 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.03513, allocations: 8.125 kB / 0.6524 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.03526, allocations: 64.11 kB / 0.6525 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.0354, allocations: 183 kB / 0.6526 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.03832, allocations: 2.6 MB / 0.6552 GB, free: 7.387 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.008559/0.04688, allocations: 9.33 MB / 0.6643 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.04827, allocations: 1.227 MB / 0.6655 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.04919, allocations: 0.9732 MB / 0.6664 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.04924, allocations: 8.656 kB / 0.6664 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.04927, allocations: 43.22 kB / 0.6665 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.04927, allocations: 0 / 0.6665 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139): time 0.3377/0.387, allocations: 18.88 MB / 0.6849 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.387, allocations: 67.31 kB / 0.685 GB, free: 95.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.3877, allocations: 0.9376 MB / 0.6859 GB, free: 94.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.3878, allocations: 47.58 kB / 0.6859 GB, free: 94.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.388, allocations: 0.7473 MB / 0.6867 GB, free: 94.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.3882, allocations: 0.4964 MB / 0.6872 GB, free: 94.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.3885, allocations: 290.4 kB / 0.6874 GB, free: 93.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3885, allocations: 350.2 kB / 0.6878 GB, free: 93.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3896, allocations: 1.338 MB / 0.6891 GB, free: 93.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3907, allocations: 1.655 MB / 0.6907 GB, free: 92.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.3929, allocations: 3.092 MB / 0.6937 GB, free: 90.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3929, allocations: 0 / 0.6937 GB, free: 90.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005887/0.3988, allocations: 5.569 MB / 0.6991 GB, free: 89.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3988, allocations: 10.28 kB / 0.6992 GB, free: 89.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3988, allocations: 8.156 kB / 0.6992 GB, free: 89.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/0.403, allocations: 2.705 MB / 0.7018 GB, free: 88.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.4034, allocations: 192.5 kB / 0.702 GB, free: 88.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.4262, allocations: 24.99 MB / 0.7264 GB, free: 75.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/0.4271, allocations: 98.89 kB / 0.7265 GB, free: 75.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/0.4272, allocations: 55.75 kB / 0.7265 GB, free: 75.91 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.0009496/0.4281, allocations: 0.7431 MB / 0.7273 GB, free: 75.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.4282, allocations: 123.3 kB / 0.7274 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006995/0.4352, allocations: 5.309 MB / 0.7326 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4352, allocations: 14.38 kB / 0.7326 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.4353, allocations: 22.67 kB / 0.7326 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.4353, allocations: 7.078 kB / 0.7326 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009464/0.4447, allocations: 8.267 MB / 0.7407 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4447, allocations: 3.906 kB / 0.7407 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.445, allocations: 119.5 kB / 0.7408 GB, free: 70.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004321/0.4493, allocations: 2.581 MB / 0.7433 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.4494, allocations: 25.38 kB / 0.7434 GB, free: 69.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.4649, allocations: 23.44 MB / 0.7662 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4649, allocations: 4 kB / 0.7662 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.4702, allocations: 5.17 MB / 0.7713 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.4706, allocations: 427.1 kB / 0.7717 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4708, allocations: 27.98 kB / 0.7717 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.4712, allocations: 75.91 kB / 0.7718 GB, free: 42.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.4714, allocations: 132.9 kB / 0.7719 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.4715, allocations: 40 kB / 0.772 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004252/0.4719, allocations: 0.6434 MB / 0.7726 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4719, allocations: 0 / 0.7726 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001509/0.4734, allocations: 0.7227 MB / 0.7733 GB, free: 40.75 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.005395/0.4788, allocations: 5.746 MB / 0.7789 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003719/0.4825, allocations: 4.076 MB / 0.7829 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4825, allocations: 0 / 0.7829 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.485, allocations: 2.601 MB / 0.7854 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.4858, allocations: 225.7 kB / 0.7856 GB, free: 27.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.5054, allocations: 21.37 MB / 0.8065 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.5061, allocations: 1.117 MB / 0.8076 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004343/0.5066, allocations: 325.6 kB / 0.8079 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.5069, allocations: 0.5316 MB / 0.8084 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.5069, allocations: 0 / 0.8084 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.5706, allocations: 56.05 MB / 0.8632 GB, free: 12.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.636, allocations: 14.31 kB / 0.8632 GB, free: 12.55 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.577044638805091] Failed to read output from testmodel.py, exit status != 0: 8.740228476002812 8.755391178 8.727376993 Calling exit ...