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.0007927/0.0007927, 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.0008039/0.0008039, 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.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7075/0.7075, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.128e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03239/0.03241, allocations: 31.07 MB / 0.6484 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.04836, allocations: 14.31 MB / 0.6624 GB, free: 168 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.05091, allocations: 202.5 kB / 0.6626 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.05532, allocations: 3.677 MB / 0.6662 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.06089, allocations: 3.07 MB / 0.6692 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.06495, allocations: 2.361 MB / 0.6715 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2916/0.3566, allocations: 9.003 MB / 0.6803 GB, free: 51.44 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005277/0.3618, allocations: 5.505 MB / 0.6856 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.3663, allocations: 5.555 MB / 0.6911 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.3696, allocations: 3.732 MB / 0.6947 GB, free: 50.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000572/0.3702, allocations: 0.715 MB / 0.6954 GB, free: 50.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.3721, allocations: 1.64 MB / 0.697 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.3735, allocations: 3.026 MB / 0.7 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.3752, allocations: 2.375 MB / 0.7023 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007137/0.3823, allocations: 11.4 MB / 0.7134 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3823, allocations: 0 / 0.7134 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3823, allocations: 1.062 kB / 0.7134 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001992/0.3825, allocations: 0 / 0.7134 GB, free: 48.1 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008566/0.3911, allocations: 5.994 MB / 0.7193 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3911, allocations: 10.69 kB / 0.7193 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007305/0.3919, allocations: 0.7296 MB / 0.72 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.3953, allocations: 1.177 MB / 0.7211 GB, free: 44.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.3994, allocations: 3.467 MB / 0.7245 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3996, allocations: 373.2 kB / 0.7249 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/0.4002, allocations: 0.4943 MB / 0.7254 GB, free: 42.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/0.4085, allocations: 8.863 MB / 0.734 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.701e-05/0.4086, allocations: 19.42 kB / 0.734 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.409, allocations: 219.4 kB / 0.7342 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005594/0.4096, allocations: 438.5 kB / 0.7347 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.4156, allocations: 6.076 MB / 0.7406 GB, free: 35.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.4333, allocations: 22.04 MB / 0.7621 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.435, allocations: 1.901 MB / 0.764 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.4363, allocations: 1.748 MB / 0.7657 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.4364, allocations: 19.31 kB / 0.7657 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.4365, allocations: 60.89 kB / 0.7657 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=171): time 4.899e-06/0.4365, allocations: 0 / 0.7657 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=276): time 0.07425/0.5107, allocations: 38.7 MB / 0.8035 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002913/0.511, allocations: 85.05 kB / 0.8036 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.5133, allocations: 2.324 MB / 0.8059 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.5134, allocations: 73.7 kB / 0.806 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009785/0.5144, allocations: 2.334 MB / 0.8082 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.5149, allocations: 0.9623 MB / 0.8092 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005835/0.5155, allocations: 0.5102 MB / 0.8097 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.5156, allocations: 301.1 kB / 0.81 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/0.5176, allocations: 1.973 MB / 0.8119 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.5197, allocations: 2.6 MB / 0.8144 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.5243, allocations: 4.932 MB / 0.8192 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.5243, allocations: 4 kB / 0.8192 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009236/0.5335, allocations: 7.649 MB / 0.8267 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5335, allocations: 12 kB / 0.8267 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.5336, allocations: 20 kB / 0.8267 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.5389, allocations: 3.207 MB / 0.8299 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.5398, allocations: 401 kB / 0.8303 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/0.5691, allocations: 32.74 MB / 0.8622 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.5712, allocations: 159.8 kB / 0.8624 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.5714, allocations: 116 kB / 0.8625 GB, free: 6.227 MB / 0.7136 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.002984/0.5744, allocations: 1.794 MB / 0.8643 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.5748, allocations: 345.9 kB / 0.8646 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/0.5835, allocations: 7.243 MB / 0.8717 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5835, allocations: 28 kB / 0.8717 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.5836, allocations: 28 kB / 0.8717 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5836, allocations: 15.95 kB / 0.8717 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.5981, allocations: 12.15 MB / 0.8836 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5981, allocations: 8 kB / 0.8836 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.5986, allocations: 234 kB / 0.8838 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/0.603, allocations: 2.844 MB / 0.8866 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6031, allocations: 63.94 kB / 0.8867 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/0.632, allocations: 31.53 MB / 0.9175 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.632, allocations: 15.36 kB / 0.9175 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/0.6406, allocations: 6.772 MB / 0.9241 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.6423, allocations: 0.7234 MB / 0.9248 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.6427, allocations: 60 kB / 0.9248 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6437, allocations: 167.8 kB / 0.925 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006942/0.6444, allocations: 268.4 kB / 0.9253 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.6445, allocations: 76 kB / 0.9253 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001686/0.6462, allocations: 1.521 MB / 0.9268 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.6462, allocations: 0 / 0.9268 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003573/0.6498, allocations: 1.367 MB / 0.9282 GB, free: 2.363 MB / 0.7761 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.007913/0.6577, allocations: 7.405 MB / 0.9354 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008066/0.6657, allocations: 6.553 MB / 0.9418 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.6658, allocations: 8.062 kB / 0.9418 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/0.6704, allocations: 4.247 MB / 0.9459 GB, free: 16 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.6737, allocations: 1.113 MB / 0.947 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05198/0.7256, allocations: 39.19 MB / 0.9853 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/0.7293, allocations: 3.12 MB / 0.9883 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001648/0.731, allocations: 0.5556 MB / 0.9889 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/0.7332, allocations: 1.969 MB / 0.9908 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of SimCode: time 2.224e-06/0.7332, allocations: 4 kB / 0.9908 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/1.134, allocations: 118.7 MB / 1.107 GB, free: 213.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.77, allocations: 3.859 kB / 1.107 GB, free: 213.4 MB / 0.8386 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_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.611075513064861] Failed to read output from testmodel.py, exit status != 0: 11.90509457886219 11.910571518 11.526733994 Calling exit ...