Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.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.001886/0.001886, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.003155/0.003155, allocations: 217.4 kB / 22.25 MB, free: 3.57 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 1.719/1.719, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.05134/0.05134, allocations: 9.557 MB / 322 MB, free: 8.469 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/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: translateModel(ChaoticCircuits.ChuasMemristor.AnalyticEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations") translateModel(ChaoticCircuits.ChuasMemristor.AnalyticEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations") [Timeout 660] "Notification: ChaoticCircuits 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.005571/0.005571, allocations: 75.89 kB / 449.1 MB, free: 37.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.117, allocations: 55.78 MB / 0.493 GB, free: 13.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.AnalyticEquations): time 0.002709/0.1197, allocations: 1.29 MB / 0.4943 GB, free: 12.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.1199, allocations: 35.89 kB / 0.4943 GB, free: 12.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.1199, allocations: 0 / 0.4943 GB, free: 12.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.12, allocations: 7.922 kB / 0.4943 GB, free: 12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.12, allocations: 15.86 kB / 0.4944 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.1201, allocations: 3.984 kB / 0.4944 GB, free: 11.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.1202, allocations: 31.86 kB / 0.4944 GB, free: 11.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1203, allocations: 7.938 kB / 0.4944 GB, free: 11.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.1203, allocations: 23.91 kB / 0.4944 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.1204, allocations: 15.92 kB / 0.4944 GB, free: 11.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1204, allocations: 4 kB / 0.4944 GB, free: 11.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1204, allocations: 0 / 0.4944 GB, free: 11.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.1205, allocations: 0 / 0.4944 GB, free: 11.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.1205, allocations: 23.86 kB / 0.4945 GB, free: 11.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.1206, allocations: 23.84 kB / 0.4945 GB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1206, allocations: 0 / 0.4945 GB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1206, allocations: 0 / 0.4945 GB, free: 11.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1206, allocations: 0 / 0.4945 GB, free: 11.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005079/0.1211, allocations: 274.3 kB / 0.4948 GB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1211, allocations: 12.03 kB / 0.4948 GB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.1212, allocations: 4.891 kB / 0.4948 GB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1213, allocations: 110.5 kB / 0.4949 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1213, allocations: 8.375 kB / 0.4949 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1213, allocations: 384 / 0.4949 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1215, allocations: 50.17 kB / 0.4949 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1215, allocations: 4.141 kB / 0.4949 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1215, allocations: 3.938 kB / 0.4949 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1215, allocations: 7.938 kB / 0.4949 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1216, allocations: 15.98 kB / 0.495 GB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1218, allocations: 113.3 kB / 0.4951 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1221, allocations: 74.59 kB / 0.4951 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.1222, allocations: 16.98 kB / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-06/0.1222, allocations: 0 / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1222, allocations: 30.56 kB / 0.4952 GB, free: 11.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1222, allocations: 0 / 0.4952 GB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002079/0.1224, allocations: 81.56 kB / 0.4953 GB, free: 10.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1225, allocations: 55.8 kB / 0.4953 GB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1226, allocations: 101.9 kB / 0.4954 GB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1226, allocations: 29.7 kB / 0.4954 GB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1227, allocations: 92.12 kB / 0.4955 GB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.1227, allocations: 15.8 kB / 0.4955 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.1227, allocations: 25.72 kB / 0.4956 GB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1229, allocations: 314.8 kB / 0.4959 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.123, allocations: 12 kB / 0.4959 GB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.123, allocations: 23.92 kB / 0.4959 GB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.1231, allocations: 33.11 kB / 0.4959 GB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1231, allocations: 0 / 0.4959 GB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00015/0.1232, allocations: 93.7 kB / 0.496 GB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1232, allocations: 6.188 kB / 0.496 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1232, allocations: 7.938 kB / 0.496 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1233, allocations: 7.938 kB / 0.496 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1234, allocations: 19.98 kB / 0.4961 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1234, allocations: 0 / 0.4961 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1234, allocations: 0 / 0.4961 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1234, allocations: 4 kB / 0.4961 GB, free: 10.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.1235, allocations: 109.8 kB / 0.4962 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1235, allocations: 11.94 kB / 0.4962 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.1236, allocations: 8.062 kB / 0.4962 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1236, allocations: 11.86 kB / 0.4962 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1236, allocations: 8 kB / 0.4962 GB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1236, allocations: 0 / 0.4962 GB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1237, allocations: 117.3 kB / 0.4963 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1237, allocations: 0 / 0.4963 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1239, allocations: 19.98 kB / 0.4963 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1239, allocations: 0 / 0.4963 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1239, allocations: 4 kB / 0.4963 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1239, allocations: 0 / 0.4963 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1239, allocations: 3.938 kB / 0.4964 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1241, allocations: 109.1 kB / 0.4965 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.1241, allocations: 7.953 kB / 0.4965 GB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1241, allocations: 11.94 kB / 0.4965 GB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.1242, allocations: 0 / 0.4965 GB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.1242, allocations: 7.938 kB / 0.4965 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1242, allocations: 0 / 0.4965 GB, free: 9.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1243, allocations: 87.27 kB / 0.4966 GB, free: 9.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1243, allocations: 0 / 0.4966 GB, free: 9.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.1245, allocations: 12 kB / 0.4966 GB, free: 9.488 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (v1,v2,iL,phi) * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.1246, allocations: 91.25 kB / 0.4967 GB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1247, allocations: 35.98 kB / 0.4967 GB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1247, allocations: 4 kB / 0.4967 GB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.1247, allocations: 23.92 kB / 0.4967 GB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.1249, allocations: 8.734 kB / 0.4967 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007808/0.1257, allocations: 400.7 kB / 0.4971 GB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.1258, allocations: 67.34 kB / 0.4972 GB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.638e-05/0.1258, allocations: 7.938 kB / 0.4972 GB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.1258, allocations: 15.38 kB / 0.4972 GB, free: 8.793 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1258, allocations: 0 / 0.4972 GB, free: 8.793 MB / 362.7 MB Notification: Performance of Templates: time 0.00344/0.1292, allocations: 0.5626 MB / 0.4978 GB, free: 8.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.299912078306079]